Tests AttType with a wrong option. The string "PCDATA" is used as the AttType in the AttlistDecl in the DTD.
<?xml version="1.0"?> <!-- test for Production 54--> <!DOCTYPE AttrType [ <!ELEMENT AttrType ANY> <!ELEMENT a EMPTY> <!ATTLIST a att PCDATA #IMPLIED> ]> <AttrType> Giving a wrong AttType for the attribute. <a att="23" ></a> </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/P54/ibm54n02.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |