Custom entities do not work in xdoc section titles
--------------------------------------------------

                 Key: DOXIA-314
                 URL: http://jira.codehaus.org/browse/DOXIA-314
             Project: Maven Doxia
          Issue Type: Bug
          Components: Core, Module - Xdoc
    Affects Versions: 1.1
            Reporter: Lukas Theussl


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

{code:xml}
<!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>
{code}

produces:

{code:xml}
<h3>Local Entities: '&#913;' '&amp;#x1d7ed;'</h3>
      <p>'&#913;' '&#x1d7ed;'</p>
{code}

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to