Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/invalid/P56/ibm56i07.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 test
 [
 <!ELEMENT test ANY>
 <!ELEMENT id EMPTY>
 <!ELEMENT idref EMPTY>
 <!ATTLIST id UniqueName ID #REQUIRED>
 <!ATTLIST idref reference IDREF #IMPLIED>
 ]>
<test>
<id UniqueName = "AC456"></id>
<idref reference = "@456"></idref>
Negative test for validity constraint of IDREF.
In an attribute decl, values of type IDREF does not match the name production
</test>

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].