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