summaryrefslogtreecommitdiffstats
path: root/test/xml-structure/basic-1
diff options
context:
space:
mode:
Diffstat (limited to 'test/xml-structure/basic-1')
-rw-r--r--test/xml-structure/basic-1/check.txt5
-rw-r--r--test/xml-structure/basic-1/input.xml13
2 files changed, 18 insertions, 0 deletions
diff --git a/test/xml-structure/basic-1/check.txt b/test/xml-structure/basic-1/check.txt
new file mode 100644
index 0000000..95e0737
--- /dev/null
+++ b/test/xml-structure/basic-1/check.txt
@@ -0,0 +1,5 @@
+/root
+/root/entry[*]
+/root/entry[*]/name
+/root/entry[*]/id
+
diff --git a/test/xml-structure/basic-1/input.xml b/test/xml-structure/basic-1/input.xml
new file mode 100644
index 0000000..e7c95a9
--- /dev/null
+++ b/test/xml-structure/basic-1/input.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!--When recurring elements contain inconsistent set of child elements, we assume that such element structurally contain union of all encountered child elements. -->
+<root>
+ <entry>
+ <name>Foo</name>
+ </entry>
+ <entry>
+ <id>12</id>
+ </entry>
+ <entry>
+ <name>Bah</name>
+ </entry>
+</root>