Tests the "Attribute Default Legal" VC by providing an illegal NMTOKENS value.
<!DOCTYPE root [ <!ELEMENT root EMPTY> <!ATTLIST root value NMTOKENS "alpha beta $gamma" > <!-- tests the "attribute default legal" vc --> ]> <root value="zeta eta iota"/>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>value</localName> <qualifiedName>value</qualifiedName> <value>zeta\seta\siota</value> <type>NMTOKENS</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/> <localName>value</localName> <qualifiedName>value</qualifiedName> <value>zeta\seta\siota</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |