1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-23 17:33:50 +03:00

tests: Add XInclude test for issue #733

This commit is contained in:
Nick Wellnhofer 2024-06-17 17:35:12 +02:00
parent c5e9a5b2c9
commit 52ce0d70f9
6 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE reference>
<reference xmlns:xi="http://www.w3.org/2001/XInclude">
<para id="a" xml:base="../ents/issue733-1.xml">Content 1</para>
<para id="a" xml:base="../ents/issue733-2.xml">Content 2</para>
</reference>

View File

@ -0,0 +1,16 @@
0 1 reference 0 0
1 14 #text 0 1
1 1 para 0 0
2 3 #text 0 1 Content 1
1 15 para 0 0
1 14 #text 0 1
1 1 para 0 0
2 3 #text 0 1 Content 2
1 15 para 0 0
1 14 #text 0 1
1 14 #text 0 1
0 15 reference 0 0

View File

@ -0,0 +1,5 @@
<reference xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../ents/issue733-1.xml" xpointer="a"/>
<xi:include href="../ents/issue733-2.xml" xpointer="a"/>
<xi:include href="../ents/issue733-1.xml" xpointer="b"/>
</reference>

View File

@ -0,0 +1,4 @@
<!DOCTYPE refsect1 SYSTEM "issue733.dtd">
<refsect1>
<para id="a">Content 1</para>
</refsect1>

View File

@ -0,0 +1,5 @@
<!DOCTYPE refsect1 SYSTEM "issue733.dtd">
<refsect1>
<para id="a">Content 2</para>
</refsect1>

View File

@ -0,0 +1 @@
<!ATTLIST para id ID #IMPLIED>