summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/not-sa04.xml
blob: d4e12aa6e6360eb2c30e05fdf97573ddfcadc28f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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?>