ANY content allows character data
<!DOCTYPE foo [ <!ELEMENT foo ANY> ]> <foo>hello</foo>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>h</char> <char>e</char> <char>l</char> <char>l</char> <char>o</char> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/E48.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>h</char> <char>e</char> <char>l</char> <char>l</char> <char>o</char> <endElement> <namespaceURI/> <localName/> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |