summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i02.xml
blob: b7c5af55d0b1335ab0a6030d68182aa14d516fe4 (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(negative Test)-->
<!DOCTYPE tokenizer
 [
 <!ELEMENT tokenizer ANY>
 <!ELEMENT b EMPTY>
 <!ATTLIST b attr ID #REQUIRED>
 <!ATTLIST tokenizer UniqueName ID #REQUIRED>
  ]>
<tokenizer UniqueName = "Ac999">
<b attr = "Ac999"></b>
This is a negative test for validity constraints
the value of the attribute with a type ID appears more than once in the XML document
</tokenizer>