diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml/ns-alias-1 | |
parent | Initial commit. (diff) | |
download | liborcus-upstream/0.19.2.tar.xz liborcus-upstream/0.19.2.zip |
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/xml/ns-alias-1')
-rw-r--r-- | test/xml/ns-alias-1/check.txt | 10 | ||||
-rw-r--r-- | test/xml/ns-alias-1/input.xml | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/xml/ns-alias-1/check.txt b/test/xml/ns-alias-1/check.txt new file mode 100644 index 0000000..7a2225e --- /dev/null +++ b/test/xml/ns-alias-1/check.txt @@ -0,0 +1,10 @@ +ns0="http://default-namespace" +ns1="http://namespace-1" +ns2="http://namespace-2" +/ns1:data +/ns1:data/ns0:entry +/ns1:data/ns0:entry"Default" +/ns1:data/ns1:entry +/ns1:data/ns1:entry"Inside 1" +/ns1:data/ns2:entry +/ns1:data/ns2:entry"Inside 2" diff --git a/test/xml/ns-alias-1/input.xml b/test/xml/ns-alias-1/input.xml new file mode 100644 index 0000000..250064a --- /dev/null +++ b/test/xml/ns-alias-1/input.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<a:data xmlns="http://default-namespace" xmlns:a="http://namespace-1" xmlns:b="http://namespace-2"> + <entry>Default</entry> + <a:entry>Inside 1</a:entry> + <b:entry>Inside 2</b:entry> +</a:data> |