An element with Element-Only content contains the character #x85 (NEL not a whitespace character as defined by S).
<?xml version="1.1"?> <!DOCTYPE root [ <!ENTITY int "…"> <!ELEMENT root (a)> <!ELEMENT a EMPTY> ]> <!-- Invalid because NEL and LSEP are not allowed as whitespace. --> <root>∫ <a/> </root>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\u85</char> <ignorable>\n</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> </endElement> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/invalid/P46/ibm46i01.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |