The single character sequence #x2028 in the XMLDecl must be normalized to a single newline. (This test is questionable)
<?xml version="1.1"?> <!DOCTYPE doc [ <!ELEMENT doc (#PCDATA)> <!ENTITY e SYSTEM "ibm03v09.ent"> <!ATTLIST doc a CDATA #IMPLIED> ]> <doc>Test</doc>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char>T</char> <char>e</char> <char>s</char> <char>t</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</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/P03/ibm03v09.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |