TitleNamed links get invalid names when Swedish characters are used
Date09-Feb-2005 18:18:37 EET
Bug criticalityJSPWiki:LightBug
Browser versionFirefox 1.0
Bug statusClosedBug
PageProvider used-
Servlet ContainerTomcat 5.5.4
Operating SystemOS/2 Warp 4.5
Java version1.4.2_05

When I create a header such as "Göteborg", the "ö" is replaced by the numeric character reference "%F6" in the named link end, which is invalid in any XHTML version. The name should use another naming method instead:

Valid alternatives: name="Göteborg"

Invalid: name="G%F6teborg"

I'm sorry, I don't get it. What JSPWiki does should be quite according to RFC 3987... If you use UTF-8, that is. What exactly is the problem? Could you post an example?

-- JanneJalkanen

It is true that RFC 3986 and 3987 allow for pct-encoded.

But in XHTML, fragment identifiers is of type NMTOKEN: XML. In HTML 4, CDATA was used.

As I understand it, NMTOKEN does not include any pct-encoded (%F6) so numeric character references can't be used.

See also XHTML 1.0 "When defining fragment identifiers to be backward-compatible, only strings matching the pattern A-Za-z A-Za-z0-9:_.-* should be used".

Example page TestingGöteborg -- Per

Fixed in 2.2.17.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-9) was last changed on 06-Jun-2005 20:34 by JanneJalkanen