Tests doctypedecl with internal DTD only
<?xml version="1.0" encoding='UTF-8'?> <!DOCTYPE animal [ <!ELEMENT animal EMPTY> ]> <!-- This a valid test file for production [28] --> <animal/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P28/ibm28v01.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |