Tests SDDecl with wrong key word. The word "YES" 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>
|