Package: elinks
Version: 0.12~pre5-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 elinks
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 elinks depends on:
ii  elinks-data            0.12~pre5-1       advanced text-mode WWW browser - d
ii  libbz2-1.0             1.0.5-3           high-quality block-sorting file co
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcomerr2             1.41.9-1          common error description library
ii  libexpat1              2.0.1-6           XML parsing C library - runtime li
ii  libfsplib0             0.11-1            FSP v2 protocol stack library - sh
ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
ii  libgpm2                1.20.4-3.2        General Purpose Mouse - shared lib
ii  libgssapi-krb5-2       1.7+dfsg-3        MIT Kerberos runtime libraries - k
ii  libidn11               1.15-2            GNU Libidn library, implementation
ii  libk5crypto3           1.7+dfsg-3        MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.7+dfsg-3        MIT Kerberos runtime libraries
ii  liblua50               5.0.3-4           Main interpreter library for the L
ii  liblualib50            5.0.3-4           Extension library for the Lua 5.0 
ii  libmozjs1d             1.9.0.16-1        The Mozilla SpiderMonkey JavaScrip
ii  libperl5.10            5.10.1-8          shared Perl library
ii  libruby1.8             1.8.7.174-3       Libraries necessary to run Ruby 1.
ii  libtre4                0.7.6-2           regexp matching library with appro
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

elinks recommends no packages.

Versions of packages elinks suggests:
pn  elinks-doc                    <none>     (no description available)

-- no debconf information
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