You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/04/06 14:25:53 UTC

[jira] (DOXIA-397) Cannot link to javadoc methods

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

Robert Scholte closed DOXIA-397.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
         Assignee: Robert Scholte

Fixed in [r1465234|http://svn.apache.org/r1465234]
A link with a single '#' will be translated to a Doxia-ID.
A link with '##' (which would normally be illegal) will copy the anchor as is. This means that the developer is responsible for the correct URL encoding!
                
> Cannot link to javadoc methods
> ------------------------------
>
>                 Key: DOXIA-397
>                 URL: https://jira.codehaus.org/browse/DOXIA-397
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core, Module - Apt, Module - Xdoc
>    Affects Versions: 1.1.3
>            Reporter: Lukas Theussl
>            Assignee: Robert Scholte
>             Fix For: 1.4
>
>         Attachments: apt-link-fix.diff
>
>
> Using a link to a javadoc method like
> {noformat}
> {{{../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.http.HttpResponse)}ParserRegistry}}
> {noformat}
> the apt parser removes the brackets of the anchor. The same thing happens with xdocs and probably other formats. Note that non-ascii characters are not legal in anchor names, but they should be replaced by their hex values, see http://www.w3.org/TR/html401/appendix/notes.html#non-ascii-chars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira