maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <>
Subject [jira] Commented: (DOXIA-131) HtmlTools.encodeId makes id lower case
Date Fri, 03 Aug 2007 18:12:13 GMT


Dennis Lundberg commented on DOXIA-131:

I had a look at the original docs for aptconvert and found this interesting quote:
The name of an anchor/link is its text with all non alphanumeric characters stripped.

That suggests that we should be removing these characters ":_.-" from the ids as well.

I'll give aptconvert a spin and see if I can shed some light on these issues.

> HtmlTools.encodeId makes id lower case
> --------------------------------------
>                 Key: DOXIA-131
>                 URL:
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8
>            Reporter: Lukas Theussl
>            Assignee: Dennis Lundberg
>             Fix For: 1.0-beta-1
> HtmlTools.encodeId uses Character.toLowerCase to convert its argument to lower case.
I don't see the reason for that since upper case characters are legal in id's (see
). In particular, it's a problem with anchors/links in the xhtml sink (see DOXIA-47 ), especially
if we want to create anchors from section names, to maintain backward compatibility with m1.
Is there a special reason for the toLowerCase or can we remove it?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message