File: ibm60i01.xml

package info (click to toggle)
haskell-xmlhtml 0.2.5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,924 kB
  • sloc: xml: 8,109; haskell: 4,868; sh: 6; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (31)
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>