SGML's #CURRENT is not allowed.
<!DOCTYPE root [ <!ELEMENT root EMPTY> <!-- SGML-ism: illegal attribute default --> <!ATTLIST root language CDATA #CURRENT > ]> <root/>
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/> <bug reason="Parser should only throw SAXExceptions" type="java.util.MissingResourceException">Can't find resource for bundle java.util.PropertyResourceBundle, key XML-0288</bug> </ConformanceResults> |