Tests TokenizedType with wrong key word. The "#ID" is used in the TokenizedType in the AttDef in the AttlistDecl in the DTD.
<?xml version="1.0"?> <!-- test for Production 56--> <!DOCTYPE root [ <!ELEMENT root ANY> <!ELEMENT a EMPTY> <!ATTLIST a attr #ID #REQUIRED> ]> <root> Invalid TokenizedType #ID(Wrong Character) </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>
|