Package: lynx-cur
Version: 2.8.8dev.1-1
Severity: normal

With the first attached file, the first two URIs are not handled
correctly: the "è" character is replaced by %E8 instead of %C3%A8
as required by the XML spec (so that the document isn't found):

  http://www.w3.org/TR/xmlschema-2/#anyURI
  http://www.w3.org/TR/xlink/#link-locators

Note: It is not clear whether non-ASCII characters are allowed in
XHTML 1.0: they are allowed in XML and the document validates, but
they are forbidden in HTML 4. Anyway the HTML 4 spec says how they
should be handled (i.e. in the same way as in XLink):

  http://www.w3.org/TR/html4/appendix/notes.html#non-ascii-chars

Everything works fine with the second file. This shows that lynx
uses the encoding of the document to decide what to do (which is
bad).

Also note that in both files, NFD doesn't work, but I assume that's
a problem with the XLink spec and/or the web server (really, when
typing a URL, the user shouldn't care whether an accented character
is represented using NFC or NFD).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages lynx-cur depends on:
ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
ii  libbsd0                0.1.6-1           utility functions from BSD systems
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libgcrypt11            1.4.5-1           LGPL Crypto library - runtime libr
ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
ii  libncursesw5           5.7+20090803-2    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages lynx-cur recommends:
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap

Versions of packages lynx-cur suggests:
pn  lynx-cur-wrapper              <none>     (no description available)

-- debconf information excluded
Title: Test of Accented Characters in URLs

With NFC:

With NFD:

Title: Test of Accented Characters in URLs

With NFC:

With NFD:

Reply via email to