summaryrefslogtreecommitdiffstats
path: root/test/xml/ns-alias-1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/xml/ns-alias-1/check.txt10
-rw-r--r--test/xml/ns-alias-1/input.xml6
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>