Bug#565992: libwebkit-1.0-2: invalid element name error for http XHTML pages declared as iso-8859-1

Vincent Lefevre vincent at vinc17.net
Wed Jan 20 13:09:23 UTC 2010


Package: libwebkit-1.0-2
Version: 1.1.18-1
Severity: important

Webkit-based browsers (tested with midori and GtkLauncher) cannot
render my web site just because it uses iso-8859-1 encoding, i.e.
pages start with:

<?xml version="1.0" encoding="iso-8859-1"?>

Testcase: http://www.vinc17.net/test/url-accented-latin1.html
(note: the contents don't matter, this was just for another test).

I get the following error:

  This page contains the following errors:
  error on line 2 at column 2: StartTag: invalid element name
  Below is a rendering of the page up to the first error.

Note that only pages served by http are affected. I do not get any
error with "file://...".

There's no problem with utf-8, e.g. on
  http://www.vinc17.net/test/url-accented-utf8.html

Note: my web site uses content negociation, so that pages can be
served either as application/xhtml+xml (preferred) or as text/html.
I don't know what webkit requests, but in the later case, the
Content-Type is correct anyway:

$ wget -S http://www.vinc17.net/test/url-accented-latin1.html
[...]
  Content-Type: text/html; charset=iso-8859-1

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

Kernel: Linux 2.6.30-2-amd64 (SMP w/8 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 libwebkit-1.0-2 depends on:
ii  libatk1.0-0                 1.28.0-1     The ATK accessibility toolkit
ii  libc6                       2.10.2-5     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.8-2      The Cairo 2D vector graphics libra
ii  libenchant1c2a              1.4.2-3.4    a wrapper library for various spel
ii  libfontconfig1              2.8.0-2      generic font configuration library
ii  libfreetype6                2.3.11-1     FreeType 2 font engine, shared lib
ii  libgail18                   2.18.6-1     GNOME Accessibility Implementation
ii  libglib2.0-0                2.22.4-1     The GLib library of C routines
ii  libgstreamer-plugins-base0. 0.10.25-7    GStreamer libraries from the "base
ii  libgstreamer0.10-0          0.10.25-4+b1 Core GStreamer libraries and eleme
ii  libgtk2.0-0                 2.18.6-1     The GTK+ graphical user interface 
ii  libicu42                    4.2.1-3      International Components for Unico
ii  libjpeg62                   6b-15        The Independent JPEG Group's JPEG 
ii  libpango1.0-0               1.26.2-1     Layout and rendering of internatio
ii  libpng12-0                  1.2.42-1     PNG library - runtime
ii  libsoup2.4-1                2.29.5-2     an HTTP library implementation in 
ii  libsqlite3-0                3.6.21-2     SQLite 3 shared library
ii  libstdc++6                  4.4.2-9      The GNU Standard C++ Library v3
ii  libwebkit-1.0-common        1.1.18-1     Web content engine library for Gtk
ii  libxml2                     2.7.6.dfsg-2 GNOME XML library
ii  libxslt1.1                  1.1.26-1     XSLT processing library - runtime 
ii  libxt6                      1:1.0.7-1    X11 toolkit intrinsics library

libwebkit-1.0-2 recommends no packages.

libwebkit-1.0-2 suggests no packages.

-- no debconf information





More information about the Pkg-webkit-maintainers mailing list