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/04/13 21:56:52 UTC

[jira] Closed: (DOXIA-239) Handle non-ASCII characters in anchors and id's

     [ http://jira.codehaus.org/browse/DOXIA-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-239.
-------------------------------

         Assignee: Lukas Theussl
       Resolution: Fixed
    Fix Version/s: 1.1.1

Fixed in r764589.

> Handle non-ASCII characters in anchors and id's
> -----------------------------------------------
>
>                 Key: DOXIA-239
>                 URL: http://jira.codehaus.org/browse/DOXIA-239
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core, Documentation, Modules, Sink API
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>             Fix For: 1.1.1
>
>
> From DOXIA-236:
> The javadoc for the method HtmlTools.encodeId() mentions the pattern [A-Za-z][A-Za-z0-9:_.-]* for its output. To me, this looks like the term "letter" in meant to refer to ASCII characters in this context. However, the employed method Character.isLetter() will classify characters according to the Unicode data file. For instance, the characters "ä" and "ß" are letters in the Unicode sense. encodeId() will pass these through to its output, violating the ASCII-only pattern stated in its javadoc.

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