summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/eduni/xml-1.1/054.xml
blob: a60c006bae46d400162b40534e41c6fea2b3f724 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>