GNOME Bugzilla – Bug 668296
wrong error location reported
Last modified: 2021-07-05 13:26:23 UTC
$ 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 $ xmllint --version xmllint: using libxml version 20708 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib 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 see also https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/670488
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.