summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml
blob: ed8e74d1a0907dc0a8cad7119edb2ce3fbbb7739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(positive Test)-->
<!DOCTYPE tokenizer
 [
 <!ELEMENT tokenizer ANY>
 <!ELEMENT b EMPTY>
 <!ATTLIST b attr ID #REQUIRED>
 <!ATTLIST tokenizer UniqueName ID #REQUIRED>
  ]>
<tokenizer UniqueName = "Ac999">
<b attr = "BC999"></b>
This is a positive test for validity constraints
the value of the attribute with a type ID does not appear more than once in the XML document
</tokenizer>