summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/data/046.ref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/data/046.ref')
-rw-r--r--tests/auto/corelib/serialization/qxmlstream/data/046.ref21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/data/046.ref b/tests/auto/corelib/serialization/qxmlstream/data/046.ref
new file mode 100644
index 0000000000..5019708c8c
--- /dev/null
+++ b/tests/auto/corelib/serialization/qxmlstream/data/046.ref
@@ -0,0 +1,21 @@
+StartDocument( documentVersion="1.0" )
+Comment( text=" Colon in ID attribute name " )
+DTD( text="
+<!DOCTYPE foo [
+<!ELEMENT foo ANY>
+<!ATTLIST foo id ID #IMPLIED
+ ref IDREF #IMPLIED>
+]>" dtdName="foo" )
+StartElement( name="foo" qualifiedName="foo"
+ Attribute( name="ref" qualifiedName="ref" value="a:b" )
+ )
+Characters( whitespace text="
+ " )
+StartElement( name="foo" qualifiedName="foo"
+ Attribute( name="id" qualifiedName="id" value="a:b" )
+ )
+EndElement( name="foo" qualifiedName="foo" )
+Characters( whitespace text="
+" )
+EndElement( name="foo" qualifiedName="foo" )
+EndDocument( )