[ http://jira.codehaus.org/browse/DOXIA-85?page=comments#action_84422 ] 
            
Dennis Lundberg commented on DOXIA-85:
--------------------------------------

Brett,  the name in a <a name="..."/> will be stripped of any special 
characters found in the source xdoc. So it doesn't need to be escaped in the 
same manner.

> XhtmlSink does not escape &-characters in links, resulting in non-valid xhtml
> -----------------------------------------------------------------------------
>
>                 Key: DOXIA-85
>                 URL: http://jira.codehaus.org/browse/DOXIA-85
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>            Reporter: Dennis Lundberg
>         Attachments: DOXIA-85.patch, DOXIA-85.zip
>
>
> The use case for me is when I'm trying out commons-skin fro Jakarta Commons. 
> Someone checked the results and pointed out that the xhtml code didn't 
> validate using the W3C validator. The non-valid part is in a link that 
> contains the &-character. The character is properly encoded as & amp ; (had 
> to put spaces in there in this issue report so that it looks OK in JIRA) in 
> the xdoc source document .
> The non-valid document is available at:
>   http://people.apache.org/~dennisl/commons-lang5/
> I'll attach a stripped down version of the commons lang site that can be used 
> for testing purposes. I was unable to create a proper testcase because the 
> XhtmlSinkTest doesn't produce *any* output at all for me.

-- 
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