summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/data/14.ref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qxmlstream/data/14.ref')
-rw-r--r--tests/auto/qxmlstream/data/14.ref18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/data/14.ref b/tests/auto/qxmlstream/data/14.ref
new file mode 100644
index 0000000..47a1b1a
--- /dev/null
+++ b/tests/auto/qxmlstream/data/14.ref
@@ -0,0 +1,18 @@
+StartDocument( documentVersion="1.0" )
+DTD( text="
+<!DOCTYPE test [
+<!ELEMENT test (#PCDATA) >
+<!ENTITY % xx '%zz;'>
+<!ENTITY % zz '<!ENTITY tricky "error-prone" >' >
+<!ENTITY tricky "error-prone" >
+]>" dtdName="test"
+ EntityDeclaration( name="xx" value="%zz;" )
+
+ EntityDeclaration( name="zz" value="<!ENTITY tricky "error-prone" >" )
+
+ EntityDeclaration( name="tricky" value="error-prone" )
+ )
+StartElement( name="test" qualifiedName="test" )
+Characters( text="This sample shows a error-prone method." )
+EndElement( name="test" qualifiedName="test" )
+EndDocument( )