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

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


<?xml  version="1.0"?>
<!-- validity test for Production 60-->
<!DOCTYPE Java 
 [
 <!ELEMENT Java ANY>
 <!ELEMENT one EMPTY>
 <!ELEMENT two EMPTY>
 <!ATTLIST one chapter CDATA #REQUIRED>
 <!ATTLIST two chapter CDATA #REQUIRED>
 ]>
<Java>
<one chapter="Introduction"></one>
<two></two>
Negative test for Required Attribute. Some occurrence of an element with 
an attribute of #REQUIRED default declaration does not give the value of 
those attribute
</Java>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.