Tests StringType with a wrong key word. The lower case string "cdata" is used as the StringType in the AttType in the AttlistDecl in the DTD.
<?xml version="1.0"?> <!-- test syntax invalid for Production 55--> <!DOCTYPE AttrType [ <!ELEMENT AttrType (#PCDATA)> <!ELEMENT a EMPTY> <!ATTLIST a att cdata #IMPLIED> ]> <AttrType> Giving a lowercase for CDATA attribute. </AttrType>
| Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<fatalError/>
<endDocument/>
</ConformanceResults>
| <?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P55/ibm55n01.xml</systemID>
</resolveEntity>
<fatalError/>
<endDocument/>
</ConformanceResults>
|