Has a NEL character in element content whitespace; well-formed in both XML 1.0 and 1.1, but valid only in 1.1
<?xml version="1.1" encoding="iso-8859-1"?>
<!-- Has a NEL character in element content whitespace; well-formed in both
XML 1.0 and 1.1, but valid only in 1.1 -->
<!DOCTYPE foo [
<!ELEMENT foo (foo*)>
]>
<foo>
</foo>
| Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<startElement>
<namespaceURI/>
<localName>foo</localName>
<qualifiedName>foo</qualifiedName>
<attributes/>
</startElement>
<ignorable>\n</ignorable>
<endElement>
<namespaceURI/>
<localName>foo</localName>
<qualifiedName>foo</qualifiedName>
</endElement>
<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>
|