summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P54/ibm54v02.xml
blob: 9bfd55fd0155209aa94e63589d80e70ffa8b2d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml  version="1.0"?>
<!-- test for Production 54-->
<!DOCTYPE root
 [
 <!ELEMENT root (x|y|z)*>
 <!ELEMENT x (#PCDATA)>
 <!ELEMENT y ANY>
 <!ELEMENT z EMPTY>
 <!ATTLIST x attr CDATA #IMPLIED>
 <!ATTLIST y attr NMTOKENS #IMPLIED>
 <!ATTLIST z attr (x|y) #IMPLIED>
 ]>
<root>
<x attr= 'Madhu'></x>
<y attr= '1.a.name.token.but.not.a.name'></y>
</root>