maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Zeltner (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSUREFIREREP-30) Use lowercase html anchor names, else these links will not work
Date Tue, 03 Oct 2006 13:49:27 GMT
    [ http://jira.codehaus.org/browse/MSUREFIREREP-30?page=comments#action_76442 ] 
            
Martin Zeltner commented on MSUREFIREREP-30:
--------------------------------------------

Could be made too but because we can't have two anchors with the same name but different cases
it is better to name anchors always lower-case. Lower-case is also recommended on http://selfhtml.org/

Cheers,
Martin

> Use lowercase html anchor names, else these links will not work
> ---------------------------------------------------------------
>
>                 Key: MSUREFIREREP-30
>                 URL: http://jira.codehaus.org/browse/MSUREFIREREP-30
>             Project: Maven 2.x Surefire report Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: WinXp, Java5
>            Reporter: Martin Zeltner
>         Attachments: patch_maven-surefire-report-plugin_html-anchor-ids-must-be-lowercase.patch
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The class *org.apache.maven.plugins.surefire.report.SurefireReportGenerator* does generate
html anchors with upper cases. With the newest version of the XhtmlSink of doxia created uppercase
anchor ids will be automatically made lowercase. In Mozilla browsers links with upper cases
in anchors and lower cases in anchor ids will not work. The Internet Explorer doesn't care
about cases. In appended patch I've corrected this issue by lowercasing every link anchor.
> Cheers,
> Martin

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

        

Mime
View raw message