summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/data/008.ref
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:18:55 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:18:55 (GMT)
commite5fcad302d86d316390c6b0f62759a067313e8a9 (patch)
treec2afbf6f1066b6ce261f14341cf6d310e5595bc1 /tests/auto/qxmlstream/data/008.ref
downloadQt-e5fcad302d86d316390c6b0f62759a067313e8a9.zip
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.gz
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.bz2
Long live Qt 4.5!
Diffstat (limited to 'tests/auto/qxmlstream/data/008.ref')
-rw-r--r--tests/auto/qxmlstream/data/008.ref36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/data/008.ref b/tests/auto/qxmlstream/data/008.ref
new file mode 100644
index 0000000..b0477ea
--- /dev/null
+++ b/tests/auto/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( )