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:
parent
c5e9a5b2c9
commit
52ce0d70f9
7
result/XInclude/issue733.xml
Normal file
7
result/XInclude/issue733.xml
Normal 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>
|
16
result/XInclude/issue733.xml.rdr
Normal file
16
result/XInclude/issue733.xml.rdr
Normal 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
|
5
test/XInclude/docs/issue733.xml
Normal file
5
test/XInclude/docs/issue733.xml
Normal 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>
|
4
test/XInclude/ents/issue733-1.xml
Normal file
4
test/XInclude/ents/issue733-1.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<!DOCTYPE refsect1 SYSTEM "issue733.dtd">
|
||||
<refsect1>
|
||||
<para id="a">Content 1</para>
|
||||
</refsect1>
|
5
test/XInclude/ents/issue733-2.xml
Normal file
5
test/XInclude/ents/issue733-2.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<!DOCTYPE refsect1 SYSTEM "issue733.dtd">
|
||||
<refsect1>
|
||||
<para id="a">Content 2</para>
|
||||
</refsect1>
|
||||
|
1
test/XInclude/ents/issue733.dtd
Normal file
1
test/XInclude/ents/issue733.dtd
Normal file
@ -0,0 +1 @@
|
||||
<!ATTLIST para id ID #IMPLIED>
|
Loading…
Reference in New Issue
Block a user