Tests the Attribute Value Type (declared) VC for the xml:space attribute
<!DOCTYPE root [ <!ELEMENT root EMPTY> ]> <root xml:space='preserve'/> <!-- all attributes must be declared -->
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI> <localName>space</localName> <qualifiedName>xml:space</qualifiedName> <value>preserve</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI> <localName>spa</localName> <qualifiedName>xml:space</qualifiedName> <value>preserve</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |