Tests an element with an illegal NameChar: #0xA1
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE IllegalNameChar¡ [ <!ELEMENT IllegalNameChar¡ ANY> ]> <!-- IllegalNameChar #0xA1 --> <IllegalNameChar¡/>
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> |