diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml new file mode 100644 index 0000000..d4e12aa --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml @@ -0,0 +1,30 @@ +<?xml version='1.0' standalone='no'?> + +<!DOCTYPE attributes SYSTEM "sa.dtd" [ + <!-- + This one isn't standalone since it's got a defaulted + attribute (token) and one needing normalization + (notation). + --> + + <!ATTLIST attributes + token (a|b|c) "a" + notation (nonce|foo|bar) #IMPLIED + > + <!ENTITY internal "internal&number;"> + <!ENTITY number "42"> +]> + +<attributes + notation = " nonce " + nmtoken = "this-gets-normalized" + nmtokens = "this also gets normalized" + id = "&internal;" + idref = "&internal;" + idrefs = "&internal; &internal; &internal;" + entity = "unparsed-1" + entities = "unparsed-1 unparsed-2" + cdata = "nothing happens to this one!" + /> + +<?pi equals three?> |