Tests SDDecl with wrong key word. The word "Standalone" occurs in the SDDecl in the XMLDecl.
<?xml version="1.0" Standalone="yes" ?> <!DOCTYPE animal [ <!ELEMENT animal EMPTY> ]> <!-- Wrong keyword in SDDecl --> <animal/>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |