Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/invalid/P56/ibm56i02.xml

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


<?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>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].