mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-28 23:14:57 +03:00
* tree.c valid.c xinclude.c: fix #68882, cleanup the XInclude copying of node, merge back IDs in the target document. * result/XInclude/docids.xml test/XInclude/docs/docids.xml test/XInclude/ents/ids.xml: test case * result/VC/ElementValid4: output changed due to a typo fix Daniel
16 lines
332 B
XML
16 lines
332 B
XML
<!DOCTYPE book [
|
|
<!ELEMENT book (doc*)>
|
|
<!ELEMENT doc (isid*)>
|
|
<!ELEMENT isid EMPTY>
|
|
<!ATTLIST isid myid ID #IMPLIED>
|
|
]>
|
|
<book>
|
|
<doc>
|
|
<isid myid="mine"/>
|
|
<isid myid="dup"/>
|
|
</doc>
|
|
<!-- including another XML document with IDs -->
|
|
<xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude"
|
|
href="../ents/ids.xml"/>
|
|
</book>
|