wrong error location reported

Bug #670488 reported by sds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxml2
Unknown
Unknown
libxml2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libxml2

$ xmllint --timing --xinclude --noout --postvalid --noent imnotes.xml
Parsing took 272 ms
Xinclude processing took 383 ms
impnotes.xml:5661: element para: validity error : Element simpara is not declared in para list of possible children
impnotes.xml:4997: element para: validity error : Element simpara is not declared in para list of possible children
impnotes.xml:4997: element para: validity error : Element simpara is not declared in para list of possible children
Document impnotes.xml does not validate
Validating took 102 ms
Freeing took 101 ms
Parsing took 81 ms
$

the error location is wrong (this should be obvious from the line number which are out of order)
impnotes.xml is a small file which includes other files using system entities.
the first error is in impbody.xml, the second is in impext.xml

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libxml2-utils 2.7.6.dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Nov 3 12:42:38 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
 LC_PAPER=en_US.UTF-8
SourcePackage: libxml2

Revision history for this message
sds (sds-gnu) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in libxml2 (Ubuntu):
status: New → Incomplete
Revision history for this message
sds (sds-gnu) wrote :
Aron Xu (happyaron)
Changed in libxml2 (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.