summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml
new file mode 100644
index 0000000000..c8f551cf39
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/not-sa02.xml
@@ -0,0 +1,31 @@
+<?xml version='1.0' standalone='yes'?>
+
+<!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [
+ <!ENTITY internal " number99">
+]>
+
+ <!-- sync with ../valid/not-sa02.xml -->
+
+ <!--
+ LOTS of normalized/defaulted attributes
+ keep this from being standalone
+
+ XXX not the best of tests!!
+ ... each type of normalization/defaulting
+ needs separate testing
+ -->
+
+<attributes
+ notation = " nonce "
+ nmtoken = " this-gets-normalized "
+ nmtokens = " this&#x0d;&#x0a; also gets&#x20; normalized "
+ id = " &internal; "
+ idref = " &internal;
+ "
+ idrefs = " &internal; &internal; &internal;"
+ entity = " unparsed-1 "
+ entities = "unparsed-1
+ unparsed-2
+"
+ cdata = "nothing happens to this one!"
+ />