Reserved prefixes and namespaces: declaring the xmlns prefix with an incorrect URI
<?xml version="1.0"?> <!-- Reserved prefixes and namespaces: declaring the xmlns prefix with an incorrect URI --> <foo xmlns:xmlns="http://example.org/namespace"/>
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> |