diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa04.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa04.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa04.xml new file mode 100644 index 0000000..79df352 --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa04.xml @@ -0,0 +1,38 @@ +<?xml version='1.0' standalone='yes'?> + +<!DOCTYPE attributes SYSTEM "sa.dtd" [ + <!-- + This one is standalone since the values are + pre-normalized in this document, except that + one defaulted attribute is (re)defined internally + and so is one normalized one. + + Similarly the entity refs are internal. Unparsed + entities and notations are not listed among the + items that must not be externally declared in + standalone documents, even though processors must + in theory report their identifiers. + + --> + + <!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?> |