Tests an element with an illegal NameChar: #0x200E
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE IllegalNameChar [ <!ELEMENT IllegalNameChar ANY> ]> <!-- IllegalNameChar #0x200E --> <IllegalNameChar/>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 >= 0</bug> </ConformanceResults> |