Tests the "Notation Declared" VC by using an undeclared notation name.
<!DOCTYPE paper [ <!ELEMENT paper EMPTY> <!ENTITY Brittannica SYSTEM "http://www.eb.com" NDATA Encyclopaedia> ]> <paper/>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <unparsedEntity> <name>Brittannica</name> <systemID>http://www.eb.com</systemID> <notation>Encyclopaedia</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>paper</localName> <qualifiedName>paper</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>paper</localName> <qualifiedName>paper</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/invalid/dtd02.xml</systemID> </resolveEntity> <unparsedEntity> <name>Brittannica</name> <systemID>http://www.eb.com</systemID> <notation>Encyclopaedia</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>paper</localName> <qualifiedName>paper</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>paper</localName> <qualifiedName>paper</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |