[xml/sgml-pkgs] Bug#445961: libxml2-utils: xmllint fails to report line-numbers above 65535

Sebastien Koechlin seb.debianpkg at koocotte.org
Tue Oct 9 11:31:04 UTC 2007


Package: libxml2-utils
Version: 2.6.27.dfsg-1
Severity: normal

xmllint is unable to report line number for lines above 65535. Every line
after this line is wrongly reported as 65535.

Output example (65530 to 65540 are blank lines):
$ xmllint --noout --schema ../../osisCore.2.1.1.xsd 5-darby.xml
...
5-darby.xml:57325: element lg: Schemas validity error : Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}lg': Character
content other than whitespace is not allowed because the content type is
'element-only'.
5-darby.xml:65535: element lg: Schemas validity error : Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}lg': Character
content other than whitespace is not allowed because the content type is
'element-only'.
5-darby.xml:65535: element lg: Schemas validity error : Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}lg': Character
content other than whitespace is not allowed because the content type is
'element-only'.
5-darby.xml:65535: element note: Schemas validity error : Element
'{http://www.bibletechnologies.net/2003/OSIS/namespace}note': This element
is not expected.
5-darby.xml fails to validate
$ 

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (100, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.5.skc6
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libxml2-utils depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libncurses5            5.5-5             Shared libraries for terminal hand
ii  libreadline5           5.2-2             GNU readline and history libraries
ii  libxml2                2.6.27.dfsg-1     GNOME XML library
ii  zlib1g                 1:1.2.3-13        compression library - runtime

libxml2-utils recommends no packages.

-- no debconf information





More information about the debian-xml-sgml-pkgs mailing list