diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-10-22 02:19:22 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-10-23 14:27:05 +0200 |
commit | bc267cb9bc9f72ace8037570c11488e1c3f3f0f1 (patch) | |
tree | b22d61304df079540ca92c9642530c62a492d9be /test | |
parent | 5e4b751f32da0a147afd539cfa25fd0659a22bc6 (diff) | |
download | libxml2-bc267cb9bc9f72ace8037570c11488e1c3f3f0f1.tar.gz |
xinclude: Expand includes in xmlXIncludeCopyNode
This should make nested includes work reliably.
Fixes #424.
Diffstat (limited to 'test')
-rw-r--r-- | test/XInclude/without-reader/issue424-1.xml | 5 | ||||
-rw-r--r-- | test/XInclude/without-reader/issue424-2.xml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/XInclude/without-reader/issue424-1.xml b/test/XInclude/without-reader/issue424-1.xml new file mode 100644 index 00000000..8b6aa93b --- /dev/null +++ b/test/XInclude/without-reader/issue424-1.xml @@ -0,0 +1,5 @@ +<x xmlns:xinclude="http://www.w3.org/2001/XInclude"> + <p>Something</p> + <d><xinclude:include xpointer="xpointer(//p)"/></d> + <xinclude:include xpointer="xpointer(//d)"/> +</x> diff --git a/test/XInclude/without-reader/issue424-2.xml b/test/XInclude/without-reader/issue424-2.xml new file mode 100644 index 00000000..e61eabab --- /dev/null +++ b/test/XInclude/without-reader/issue424-2.xml @@ -0,0 +1,5 @@ +<x xmlns:xinclude="http://www.w3.org/2001/XInclude"> + <p>Something</p> + <xinclude:include xpointer="xpointer(//d)"/> + <d><xinclude:include xpointer="xpointer(//p)"/></d> +</x> |