[ 
https://jira.codehaus.org/browse/JXR-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276375#comment-276375
 ] 

Neeme Praks commented on JXR-87:
--------------------------------

Your patch will break all the links out there that rely on the current format. 
I would suggest to include a configuration option to restore the old behavior 
for people that cannot update all the other systems that rely on the old 
format. But new format should be default as the current format is broken (see 
also 
http://stackoverflow.com/questions/7110556/is-it-valid-to-use-only-digits-as-uri-fragment-identifier)

> Change line number anchor name pattern
> --------------------------------------
>
>                 Key: JXR-87
>                 URL: https://jira.codehaus.org/browse/JXR-87
>             Project: Maven JXR
>          Issue Type: Improvement
>          Components: jxr
>    Affects Versions: 2.2
>         Environment: Site plugin 2.2
>            Reporter: Michael Osipov
>         Attachments: JXR-87.patch
>
>
> Linenumber achor anames are solely the line number but this brings problems. 
> Then linking in APT to source code, it complains:
> {noformat}
> [WARNING] [APT Parser] Modified invalid link: '77' to 
> '../kcc-core/xref/package/Object.html#a77'
> {noformat}
> This means that I am not able to link to lines anymore. Change the anchor 
> name pattern to L\d+

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to