summaryrefslogtreecommitdiffstats
path: root/test/xml-structure/attribute-1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml-structure/attribute-1
parentInitial commit. (diff)
downloadliborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz
liborcus-c484829272cd13a738e35412498e12f2c9a194ac.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-structure/attribute-1')
-rw-r--r--test/xml-structure/attribute-1/check.txt7
-rw-r--r--test/xml-structure/attribute-1/input.xml5
2 files changed, 12 insertions, 0 deletions
diff --git a/test/xml-structure/attribute-1/check.txt b/test/xml-structure/attribute-1/check.txt
new file mode 100644
index 0000000..02bc1cb
--- /dev/null
+++ b/test/xml-structure/attribute-1/check.txt
@@ -0,0 +1,7 @@
+/root
+/root/@version
+/root/@type
+/root/entry[*]
+/root/entry[*]/@attr1
+/root/entry[*]/@attr2
+/root/entry[*]/@attr3
diff --git a/test/xml-structure/attribute-1/input.xml b/test/xml-structure/attribute-1/input.xml
new file mode 100644
index 0000000..fabfeda
--- /dev/null
+++ b/test/xml-structure/attribute-1/input.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<root version="2.1" type="a">
+ <entry attr1="val1" attr2="val2"/>
+ <entry attr2="val2" attr3="foo"/>
+</root>