Bug#445961: libxml2-utils: xmllint fails to report line-numbers above 65535

2007-10-09 Thread Sebastien Koechlin
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  libncurses55.5-5 Shared libraries for terminal hand
ii  libreadline5   5.2-2 GNU readline and history libraries
ii  libxml22.6.27.dfsg-1 GNOME XML library
ii  zlib1g 1:1.2.3-13compression library - runtime

libxml2-utils recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-10-09 Thread Mike Hommey
On Tue, Oct 09, 2007 at 01:31:04PM +0200, Sebastien Koechlin wrote:
 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.

Not surprising, since the line number is coded as an unsigned short...
It may appear quite difficult to fix this without breaking ABI...

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]