diff options
-rw-r--r-- | testdata/xmlparser/generic.oxm | 28 | ||||
-rw-r--r-- | testdata/xmlparser/mismatchedTag.oxm | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/testdata/xmlparser/generic.oxm b/testdata/xmlparser/generic.oxm new file mode 100644 index 0000000..dcdafde --- /dev/null +++ b/testdata/xmlparser/generic.oxm @@ -0,0 +1,28 @@ +<!--<?xml version="1.0" standalone="yes"?>--> +<document a:bc="b"> + <head> + <typesystem name="color"> + <types> + <struct name="rgb"> + <field name="r" type="double"/> + <field name="g" type="double"/> + <field name="b" type="double"/> + </struct> + <struct name="rgba" parent="rgb"> + <field name="a" type="double" default="0xf3"/> + </struct> + </types> + </typesystem> + <typesystem name="color2"> + <types> + <struct name="rgba" parent="rgb"> + <field name="a" type="bla" default="0xf3"/> + </struct> + </types> + </typesystem> + </head> + <body xmlAttr="blub"> + <!--<book>Dies ist ein Test></book>--> + </body> +</document> + diff --git a/testdata/xmlparser/mismatchedTag.oxm b/testdata/xmlparser/mismatchedTag.oxm new file mode 100644 index 0000000..5dc9388 --- /dev/null +++ b/testdata/xmlparser/mismatchedTag.oxm @@ -0,0 +1,2 @@ +<document></document2> + |