mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
ef8dd7be29
* parser.c: fixing bug #108976 get the ID/REFs to reference the ID in the document content and not in the entity copy * SAX.c include/libxml/parser.h: more checking of the ID/REF stuff, better solution for #107208 * xmlregexp.c: removed a direct printf, dohhh * xmlreader.c: fixed a bug on streaming validation of empty elements in entities * result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml: cleanup of the validation tests * test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*: added more ID/IDREF tests to the suite Daniel
14 lines
227 B
XML
14 lines
227 B
XML
<!DOCTYPE doc [
|
|
<!ELEMENT doc (src | dest)*>
|
|
<!ELEMENT src EMPTY>
|
|
<!ELEMENT dest EMPTY>
|
|
<!ATTLIST src ref IDREF #IMPLIED>
|
|
<!ATTLIST dest id ID #IMPLIED>
|
|
]>
|
|
<doc>
|
|
<src ref="foo"/>
|
|
<dest id="foo"/>
|
|
<src ref="foo"/>
|
|
</doc>
|
|
|