This test case contains valid char references in the CDATA section, comment and processing instruction of an external entity that match the char production.
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ENTITY e SYSTEM "ibm02v06.ent"> ]> <root></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> <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/valid/P02/ibm02v06.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |