You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2009/05/05 10:27:44 UTC

[jira] Created: (DOXIA-314) Custom entities do not work in xdoc section titles

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

        

[jira] Closed: (DOXIA-314) Custom entities do not work in xdoc section titles

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed DOXIA-314.
---------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 1.1.1

done in [r771709|http://svn.apache.org/viewvc?rev=771709&view=rev]

> 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
>            Assignee: Vincent Siveton
>             Fix For: 1.1.1
>
>
> 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