[xml/sgml-pkgs] Bug#766884: libxml2: lots of "validity error : ID ... already defined" errors with xmllint --valid
Vincent Lefevre
vincent at vinc17.net
Sun Oct 26 22:00:30 UTC 2014
Control: retitle -1 libxml2: "validity error : ID ... already defined" errors with xmllint --noent
Simple testcase:
tst.xml file:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE root [
<!ELEMENT root (item)*>
<!ELEMENT item EMPTY>
<!ATTLIST item
id ID #REQUIRED
>
<!ENTITY ent SYSTEM "ent.xml">
]>
<root>&ent;</root>
ent.xml file:
<?xml version="1.0" encoding="utf-8"?>
<item id="a"/>
$ xmllint --noent --noout tst.xml
tst.xml:2: element item: validity error : ID a already defined
--
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 / AriC project (LIP, ENS-Lyon)
More information about the debian-xml-sgml-pkgs
mailing list