[xml/sgml-pkgs] Bug#1111803: libxml2: xmllint with both --valid and --relaxng yields "Relax-NG validity error : ID ... redefined" errors
Vincent Lefevre
vincent at vinc17.net
Fri Aug 22 08:27:55 BST 2025
Package: libxml2
Version: 2.12.7+dfsg+really2.9.14-2.2
Severity: important
After the upgrade of libxml2 in unstable, xmllint with both --valid
and "--relaxng ..." yields "Relax-NG validity error : ID ... redefined"
errors. With just one of them (i.e. either DTD validation or Relax-NG
validation), the document validates. So this is obviously a bug (and
there were no such errors before the upgrade).
Note: the other options I'm using are
--nonet --noout --noent --xinclude --loaddtd --dtdattr
I could provide a simple testcase the week-end if need be (the
XML document and associated files are a bit complex).
At the same time, I think I should also be able to test it on Android
to see if this is specific to Debian.
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.41+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libxml2 depends on:
ii libc6 2.41-12
ii liblzma5 5.8.1-1
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
libxml2 recommends no packages.
libxml2 suggests no packages.
-- no debconf information
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
More information about the debian-xml-sgml-pkgs
mailing list