Tests TokenizedType with wrong key word. The "nmTOKEN" 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 nmTOKEN #REQUIRED> ]> <root> Invalid TokenizedType nmTOKEN(case sensitive) </root>
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> |