summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml')
-rw-r--r--tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml
new file mode 100644
index 0000000000..a60c006bae
--- /dev/null
+++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml
@@ -0,0 +1,12 @@
+<?xml version="1.1" encoding="iso-8859-1"?>
+<!-- Contains a character reference to a C0 control character (form-feed)
+ in an entity value. This will be legal (in XML 1.1) when the entity
+ declaration is parsed, but what about when it is used? According to
+ the grammar in the CR spec, it should be illegal (because the
+ replacement text must match "content"), but this is probably not
+ intended. -->
+<!DOCTYPE foo [
+<!ELEMENT foo ANY>
+<!ENTITY e "&#x0c;">
+]>
+<foo>&e;</foo>