Tests AttType with a wrong option. The string "BOGUSATTR" 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 BOGUSATTR #IMPLIED> ]> <AttrType> Giving a Bogus attribute. </AttrType>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |