An unused attribute default need only be syntactically correct
<!DOCTYPE foo [ <!ELEMENT foo ANY> <!NOTATION gif SYSTEM "file:///usr/X11R6/bin/xv"> <!ENTITY declared SYSTEM "xyzzy" NDATA gif> <!ATTLIST foo bar ENTITY "undeclared"> ]> <foo bar="declared"/>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>gif</name> <systemID>file:///usr/X11R6/bin/xv</systemID> </notation> <unparsedEntity> <name>declared</name> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/xyzzy</systemID> <notation>gif</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>bar</localName> <qualifiedName>bar</qualifiedName> <value>declared</value> <type>ENTITY</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>gif</name> <systemID>file:/usr/X11R6/bin/xv</systemID> </notation> <unparsedEntity> <name>declared</name> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/xyzzy</systemID> <notation>gif</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>bar</localName> <qualifiedName>bar</qualifiedName> <value>declared</value> <type>ENTITY</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |