summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v09.xml
blob: aa62050e6678ba0147d419d89b724f2201d1f0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(Positive Test)-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT nametoken EMPTY>
 <!ATTLIST nametoken thistoken NMTOKEN #IMPLIED>
]>
<test>
<nametoken thistoken = "x:image"></nametoken>
In an attribute declaration, values of type NMTOKEN match the Nmtoken production
</test>