Hello, Vincent Lefevre, le mer. 17 août 2016 03:01:00 +0200, a ecrit: > while with xmllint from libxml2-utils: > > zira:~> xmllint --noout --relaxng tdb.rng tdb.xml > tdb.xml validates > > and when I open tdb.xml in Emacs, it is said: > > -UUU:----F1 tdb.xml All L1 (nXML Valid) -------------- > Using schema ~/tdb.rnc
Upstream answered on https://github.com/relaxng/jing-trang/issues/211#issuecomment-434989297 “The conflicting ID type error [...] is a problem reported on the schema and it is related to the DTD compatibility spec [1]. The DTD compatibility ID checking is controlled by an option [2], so you can disable that. This check does what the DTD compatibility spec says, so it is not a problem in Jing, if the spec is updated then Jing can follow the updated spec. [1] [1]https://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html#id if its attribute parent has any competing attribute elements, then each such competing attribute element has a data or value child specifying a datatype associated with the same ID-type. Two attribute elements <attribute> nc1 p1 </attribute> and <attribute> nc2 p2 </attribute> compete if and only if the containing definitions compete and there is a name n that belongs to both nc1 and nc2. Note that a definition competes with itself. [2] [2]http://www.thaiopensource.com/relaxng/jing.html -i Disables checking of ID/IDREF/IDREFS. By default, Jing enforces the constraints imposed by RELAX NG DTD Compatibility with respect to ID/IDREF/ IDREFS. ” Samuel