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 com.bluecast.xml.Piccolo |
---|---|
<?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/> <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> |