summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/data/008.ref
diff options
context:
space:
mode:
authorHolger Ihrig <holger.ihrig@nokia.com>2011-08-29 11:59:58 +0200
committerHolger Ihrig <holger.ihrig@nokia.com>2011-09-01 13:08:32 +0200
commitcf5e669a06ec1d8bd08a4db9c2849c5d7ea9fec4 (patch)
treea96e7e53973f4ef3a91c3a19937f926517d3c02f /tests/auto/corelib/xml/qxmlstream/data/008.ref
parent5c27f0a2fb772279fb3e4d60f7c879f5cecb3352 (diff)
Moving relevant tests to corelib/xml
Task-number: QTBUG-21066 Change-Id: I2fb68c35c7abc830ba426b0aab892332b0ca00fb Reviewed-on: http://codereview.qt.nokia.com/3734 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/data/008.ref')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/data/008.ref36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/data/008.ref b/tests/auto/corelib/xml/qxmlstream/data/008.ref
new file mode 100644
index 0000000000..b0477ea1fa
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/data/008.ref
@@ -0,0 +1,36 @@
+StartDocument( documentVersion="1.0" )
+Comment( text=" Namespace inequality test: different escaping " )
+DTD( text="
+<!DOCTYPE foo [
+<!ELEMENT foo ANY>
+<!ATTLIST foo xmlns:a CDATA #IMPLIED
+ xmlns:b CDATA #IMPLIED
+ xmlns:c CDATA #IMPLIED>
+<!ELEMENT bar ANY>
+<!ATTLIST bar a:attr CDATA #IMPLIED
+ b:attr CDATA #IMPLIED
+ c:attr CDATA #IMPLIED>
+]>" dtdName="foo" )
+StartElement( name="foo" qualifiedName="foo"
+ NamespaceDeclaration( prefix="a" namespaceUri="http://example.org/~wilbur" )
+
+ NamespaceDeclaration( prefix="b" namespaceUri="http://example.org/%7ewilbur" )
+
+ NamespaceDeclaration( prefix="c" namespaceUri="http://example.org/%7Ewilbur" )
+ )
+Characters( whitespace text="
+
+" )
+StartElement( name="bar" qualifiedName="bar"
+ Attribute( name="attr" namespaceUri="http://example.org/~wilbur" qualifiedName="a:attr" prefix="a" value="1" )
+
+ Attribute( name="attr" namespaceUri="http://example.org/%7ewilbur" qualifiedName="b:attr" prefix="b" value="2" )
+
+ Attribute( name="attr" namespaceUri="http://example.org/%7Ewilbur" qualifiedName="c:attr" prefix="c" value="3" )
+ )
+EndElement( name="bar" qualifiedName="bar" )
+Characters( whitespace text="
+
+" )
+EndElement( name="foo" qualifiedName="foo" )
+EndDocument( )