summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-10-18 18:40:00 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-10-18 19:17:45 +0200
commit7f04e297318b1b908cec20711f74f75625afed7f (patch)
tree98084adeda18aaac09f1ee28d1448e940a3a682a /test
parent644a89e080bced793295f61f18aac8cfad6bece2 (diff)
downloadlibxml2-7f04e297318b1b908cec20711f74f75625afed7f.tar.gz
xinclude: Fix regression with nested includes
This reverts commits 74dcc10b and 87d20b55. Fixes #424.
Diffstat (limited to 'test')
-rw-r--r--test/XInclude/docs/issue424.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/XInclude/docs/issue424.xml b/test/XInclude/docs/issue424.xml
new file mode 100644
index 00000000..fc1cd6f3
--- /dev/null
+++ b/test/XInclude/docs/issue424.xml
@@ -0,0 +1,5 @@
+<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
+ <p>Something</p>
+ <d xmlns:xinclude="http://www.w3.org/2001/XInclude"><xinclude:include xpointer="xpointer(//p)"/></d>
+ <xinclude:include xpointer="xpointer(//d)"/>
+</x>