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 com.bluecast.xml.Piccolo |
---|---|
<?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/> <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> <attribute> <namespaceURI/> <localName>xmlns</localName> <qualifiedName>xmlns</qualifiedName> <value>http://java.sun.com/historical</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI>http://over.the.rainbow.com/somewhere</namespaceURI> <localName>palimpest</localName> <qualifiedName>palimpest</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> |