Bug#552008: yelp: [l10n] translated valid XML files give parsing errors
Neil Williams
neil at codehelp.co.uk
Thu Oct 22 17:23:47 UTC 2009
Package: yelp
Version: 2.28.0+webkit-1
Severity: normal
Tags: l10n
xmllint is happy with the original, untranslated, XML file and yelp displays it correctly.
Once translated, the translated XML file is also valid according to xmllint
but yelp complains of errors.
yelp then omits the rest of the page which makes the problem worse.
This page contains the following errors:
error on line 411 at column 3340: PCDATA invalid Char value 22
Below is a rendering of the page up to the first error.
The XML file is not 400 lines long, this must be the internally
generated meta content within yelp, yet there are no XML errors with
the generated XML content.
I'm finding the same problems with multiple applications - this error came from
gpdftext (a new package due to be uploaded to Debian once the remaining translations
are available) but errors also occur in drivel (for the cs translation):
This page contains the following errors:
error on line 481 at column 19: expected '>'
Below is a rendering of the page up to the first error.
$ LANGUAGE=cs yelp ghelp:drivel
(This error occurs on the first page, the page with the legal notice.)
This page contains the following errors:
error on line 415 at column 19: Specification mandate value for attribute an
Below is a rendering of the page up to the first error.
This error occurs on the "Usage" page (section 3).
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages yelp depends on:
ii docbook-xml 4.5-7 standard XML documentation system
ii gconf2 2.28.0-1 GNOME configuration database syste
ii gnome-doc-utils 0.18.0-1 a collection of documentation util
ii libbz2-1.0 1.0.5-3 high-quality block-sorting file co
ii libc6 2.10.1-1 GNU C Library: Shared libraries
ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst
ii libgconf2-4 2.28.0-1 GNOME configuration database syste
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii librarian0 0.8.1-4 Documentation meta-data library (l
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstartup-notificatio 0.10-1 library for program launch feedbac
ii libwebkit-1.0-2 1.1.15.2-1 Web content engine library for Gtk
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxml2 2.7.6.dfsg-1 GNOME XML library
ii libxslt1.1 1.1.26-1 XSLT processing library - runtime
ii man-db 2.5.6-3 on-line manual pager
ii xml-core 0.12 XML infrastructure and XML catalog
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages yelp recommends:
ii gnome-user-guide 2.28.0-1 GNOME user's guide
ii ttf-dejavu 2.30-1 Metapackage to pull in ttf-dejavu-
yelp suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list