Maven Doxia

Custom entities do not work in xdoc section titles

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1.1
  • Component/s: Core, Module - Xdoc
  • Labels:
    None
  • Number of attachments :
    0

Description

There is a test case in EntitiesVerifier of SiteTools. The following xdoc (cut):

<!DOCTYPE document [
<!ENTITY Alpha    "&#913;"> <!-- greek capital letter alpha, U+0391 -->
<!ENTITY tritPos  "&#x1d7ed;"> <!-- MATHEMATICAL SANS-SERIF BOLD DIGIT ONE -->
]>

      <h3>Local Entities: '&Alpha;' '&tritPos;'</h3>
      <p>'&Alpha;' '&tritPos;'</p>

produces:

<h3>Local Entities: '&#913;' '&amp;#x1d7ed;'</h3>
      <p>'&#913;' '&#x1d7ed;'</p>

ie the replacement text for &tritPos; gets un-escaped in the title while it is correct in the paragraph.

Issue Links

Activity

Hide
Vincent Siveton added a comment -

done in r771709

Show
Vincent Siveton added a comment - done in r771709

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: