diff options
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/element.xml')
-rw-r--r-- | tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/element.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/element.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/element.xml new file mode 100644 index 0000000000..9f02030aea --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/element.xml @@ -0,0 +1,38 @@ +<!DOCTYPE root [ +<!ELEMENT root ANY> +<!ELEMENT empty EMPTY> +<!ELEMENT mixed1 (#PCDATA)> +<!ELEMENT mixed2 (#PCDATA)*> +<!ELEMENT mixed3 (#PCDATA|empty)*> +]> + +<root> + <empty/> + + <mixed1/> + <mixed1></mixed1> + + <mixed2/> + <mixed2></mixed2> + + <mixed3/> + <mixed3></mixed3> + + <mixed1>allowed</mixed1> + <mixed1><![CDATA[<allowed>]]></mixed1> + + <mixed2>also</mixed2> + <mixed2><![CDATA[<% illegal otherwise %>]]></mixed2> + + <mixed3>moreover</mixed3> + + <mixed1>allowed & stuff</mixed1> + + <mixed2>also</mixed2> + + <mixed3>moreover <empty></empty> </mixed3> + <mixed3>moreover <empty/> </mixed3> + <mixed3><empty/> </mixed3> + <mixed3><empty/> too</mixed3> + +</root> |