summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/data/5.ref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qxmlstream/data/5.ref')
-rw-r--r--tests/auto/qxmlstream/data/5.ref19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/data/5.ref b/tests/auto/qxmlstream/data/5.ref
new file mode 100644
index 0000000..5d07309
--- /dev/null
+++ b/tests/auto/qxmlstream/data/5.ref
@@ -0,0 +1,19 @@
+StartDocument( documentVersion="1.0" )
+DTD( text="
+<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e SYSTEM "something">
+%e;
+<!ENTITY not "not">
+<!ENTITY me "me">
+]>" dtdName="doc"
+ EntityDeclaration( name="e" systemId="something" )
+ )
+StartElement( name="doc" qualifiedName="doc"
+ Attribute( name="a" qualifiedName="a" value="do &not; replace me" )
+ )
+Characters( text="and " )
+EntityReference( name="me" )
+Characters( text=" neither" )
+EndElement( name="doc" qualifiedName="doc" )
+EndDocument( )