blob: d2d90916493bce2c12594ed049d45f032d7c533c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?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>
|