Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/valid/P60/ibm60v02.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 chapter="JavaApplets"></two>
Positive test. Required attribute. Every occurrence of an element with a 
#REQUIRED attribute default declaration gives the value of that 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 [email protected].