Tests DefaultDecl with more than one key word. The "#REQUIRED" and the "#IMPLIED" are used as the key words in the DefaultDecl in the AttDef in the AttlistDecl in the DTD.
<?xml version="1.0"?> <!-- syntax test for Production 60--> <!DOCTYPE Java [ <!ELEMENT Java ANY> <!ELEMENT one EMPTY> <!ATTLIST one chapter CDATA #REQUIRED #IMPLIED> ]> <Java> <one chapter="Introduction"></one> Negative Test. More than one Default type declarations. </Java>
| Expected result | Actual result for com.bluecast.xml.Piccolo |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<fatalError/>
<endDocument/>
</ConformanceResults>
| <?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<fatalError/>
<endDocument/>
</ConformanceResults>
|