This test contains embeded control characters present in an external entity.
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ENTITY e SYSTEM "ibm02n66.ent"> ]> <root>&e;</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> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P02/ibm02n66.ent</systemID> </resolveEntity> <char>\n</char> <char>!</char> <char>[</char> <char>C</char> <char>D</char> <char>A</char> <char>T</char> <char>A</char> <char>[</char> <char>\s</char> <char>0</char> <char>x</char> <char>0</char> <char>x</char> <char>1</char> <char>:</char> <char>\s</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P02/ibm02n66.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |