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 <vinc...@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)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to