summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml
new file mode 100644
index 0000000000..cd225c577e
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml
@@ -0,0 +1,10 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!--
+ reusing this entity; it's got no markup decls,
+ so it's legal except for a missing "encoding=...".
+ -->
+ <!ENTITY empty SYSTEM "dtd07.dtd">
+]>
+<root>&empty;</root>