EntityDef is either Entity value or an external id, with an optional NDataDecl
<!DOCTYPE doc [ <!ELEMENT doc (#PCDATA)> <!NOTATION unknot PUBLIC "Unknown"> <!ENTITY ge "replacement text"> <!ENTITY ge2 SYSTEM "nop.ent"> <!ENTITY ge3 SYSTEM "nop.ent" NDATA unknot> ]> <doc/>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>unknot</name> <publicID>Unknown</publicID> </notation> <unparsedEntity> <name>ge3</name> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/nop.ent</systemID> <notation>unknot</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <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/oasis/p73pass1.xml</systemID> </resolveEntity> <notation> <name>unknot</name> <publicID>Unknown</publicID> </notation> <unparsedEntity> <name>ge3</name> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/nop.ent</systemID> <notation>unknot</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |