Package: djvulibre-bin
Version: 3.5.21-3
Severity: normal
File: /usr/bin/djvutoxml

It is possible that djvutoxml produces (for a perfectly valid DjVu file) an XML file which is not well-formed:

$ printf 'P1 3 3 0 0 0 0 0 0 0 0 0' > dummy.pbm
$ cjb2 dummy.pbm dummy.djvu
$ printf 'select 1\nset-txt\n(page 0 0 1 1 (line 0 0 1 1 "foo\\fbar"))\n.\n' > sedscript $ cat sedscript select 1
set-txt
(page 0 0 1 1 (line 0 0 1 1 "foo\fbar"))
.
$ djvused -s -f sedscript dummy.djvu $ djvutoxml dummy.djvu > dummy.xml $ xmllint --noout dummy.xml dummy.xml:14: parser error : xmlParseCharRef: invalid xmlChar value 12
foo&#12;bar            </LINE>
        ^

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii curl 7.18.2-8 Get a file from an HTTP, HTTPS or ii libc6 2.7-18 GNU C Library: Shared libraries
ii  libdjvulibre21                3.5.21-3   Runtime support for the DjVu image
ii  libgcc1                       1:4.3.2-4  GCC support library
ii  libstdc++6                    4.3.2-4    The GNU Standard C++ Library v3
ii  libtiff4                      3.8.2-11   Tag Image File Format (TIFF) libra

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to