summaryrefslogtreecommitdiff
path: root/result
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-10-22 02:19:22 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-10-23 14:27:05 +0200
commitbc267cb9bc9f72ace8037570c11488e1c3f3f0f1 (patch)
treeb22d61304df079540ca92c9642530c62a492d9be /result
parent5e4b751f32da0a147afd539cfa25fd0659a22bc6 (diff)
downloadlibxml2-bc267cb9bc9f72ace8037570c11488e1c3f3f0f1.tar.gz
xinclude: Expand includes in xmlXIncludeCopyNode
This should make nested includes work reliably. Fixes #424.
Diffstat (limited to 'result')
-rw-r--r--result/XInclude/issue424-1.xml6
-rw-r--r--result/XInclude/issue424-2.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/result/XInclude/issue424-1.xml b/result/XInclude/issue424-1.xml
new file mode 100644
index 00000000..ff87b0e0
--- /dev/null
+++ b/result/XInclude/issue424-1.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
+ <p>Something</p>
+ <d><p>Something</p></d>
+ <d><p>Something</p></d>
+</x>
diff --git a/result/XInclude/issue424-2.xml b/result/XInclude/issue424-2.xml
new file mode 100644
index 00000000..ff87b0e0
--- /dev/null
+++ b/result/XInclude/issue424-2.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
+ <p>Something</p>
+ <d><p>Something</p></d>
+ <d><p>Something</p></d>
+</x>