summaryrefslogtreecommitdiffstats
path: root/test/xml/no-decl-1
diff options
context:
space:
mode:
Diffstat (limited to 'test/xml/no-decl-1')
-rw-r--r--test/xml/no-decl-1/check.txt8
-rw-r--r--test/xml/no-decl-1/input.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/xml/no-decl-1/check.txt b/test/xml/no-decl-1/check.txt
new file mode 100644
index 0000000..4b84925
--- /dev/null
+++ b/test/xml/no-decl-1/check.txt
@@ -0,0 +1,8 @@
+/root
+/root/child
+/root/child
+/root/child@attr1="value1"
+/root/child@attr2="value2"
+/root/child
+/root/child/baby
+/root/child/baby"some text"
diff --git a/test/xml/no-decl-1/input.xml b/test/xml/no-decl-1/input.xml
new file mode 100644
index 0000000..fc938d4
--- /dev/null
+++ b/test/xml/no-decl-1/input.xml
@@ -0,0 +1,8 @@
+<root>
+ <child/>
+ <child attr2="value2" attr1="value1"/>
+ <child>
+ <baby>some text</baby>
+ </child>
+</root>
+