Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-314

Custom entities do not work in xdoc section titles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1.1
    • Core, Module - Xdoc
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              ltheussl Lukas Theussl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: