Expands a general entity which contains a CDATA section with what looks like a markup declaration (but is just text since it's in a CDATA section).
<!DOCTYPE doc SYSTEM "031-1.ent"> <doc>&e;</doc>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/not-sa/031-1.ent</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/not-sa/031-2.ent</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char><</char> <char>!</char> <char>A</char> <char>T</char> <char>T</char> <char>L</char> <char>I</char> <char>S</char> <char>T</char> <char>\s</char> <char>d</char> <char>o</char> <char>c</char> <char>\s</char> <char>a</char> <char>1</char> <char>\s</char> <char>C</char> <char>D</char> <char>A</char> <char>T</char> <char>A</char> <char>\s</char> <char>"</char> <char>v</char> <char>1</char> <char>"</char> <char>></char> <char>\n</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/xmltest/valid/not-sa/031.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/not-sa/031-1.ent</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/not-sa/031-2.ent</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char><</char> <char>!</char> <char>A</char> <char>T</char> <char>T</char> <char>L</char> <char>I</char> <char>S</char> <char>T</char> <char>\s</char> <char>d</char> <char>o</char> <char>c</char> <char>\s</char> <char>a</char> <char>1</char> <char>\s</char> <char>C</char> <char>D</char> <char>A</char> <char>T</char> <char>A</char> <char>\s</char> <char>"</char> <char>v</char> <char>1</char> <char>"</char> <char>></char> <char>\n</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |