Tests the "Fixed Attribute Default" VC by providing the wrong value.
<!DOCTYPE palimpest [ <!ELEMENT palimpest EMPTY> <!ATTLIST palimpest xmlns CDATA #FIXED "http://java.sun.com/historical" > <!-- tests the "fixed attribute default" vc --> ]> <palimpest xmlns="http://over.the.rainbow.com/somewhere"/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix/> <data>http://over.the.rainbow.com/somewhere</data> </startPrefixMapping> <startElement> <namespaceURI>http://over.the.rainbow.com/somewhere</namespaceURI> <localName>palimpest</localName> <qualifiedName>palimpest</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>http://over.the.rainbow.com/somewhere</namespaceURI> <localName>palimpest</localName> <qualifiedName>palimpest</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/invalid/attr08.xml</systemID> </resolveEntity> <startPrefixMapping> <prefix/> <data>http://over.the.rainbow.com/somewhere</data> </startPrefixMapping> <startElement> <namespaceURI>http://over.the.rainbow.com/somewhere</namespaceURI> <localName>palimpest</localName> <qualifiedName>palimpest</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>palimpest</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> |