[ http://jira.codehaus.org/browse/DOXIA-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226338#action_226338 ]
Lukas Theussl commented on DOXIA-397: ------------------------------------- I was about to commit a fix when I saw your example above and realized that it won't work for more than one argument. The problem is the space after the comma, which doxia replaces by an underscore, instead of its hex value (http://maven.apache.org/doxia/doxia/doxia-core/apidocs/org/apache/maven/doxia/util/DoxiaUtils.html#encodeId%28java.lang.String,%20boolean%29 ). The reason for this choice of replacement, I think, was to generate readable links for the most typical use-case of anchors in apt documents, eg links to section titles, etc. I'm afraid we will break a lot of stuff if we change this now. > Cannot link to javadoc methods > ------------------------------ > > Key: DOXIA-397 > URL: http://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 > > 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira