Tests BaseChar with an illegal character. The character #x064B occurs as the first character of the PITarget in the PI in the DTD.
<!DOCTYPE animal [ <!ELEMENT animal ANY> <?ً an illegal char #x64b in PITarget ?> ]> <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> |