Tests the Element Type Match WFC - end tag name must match start tag name.
<doc><a></aa></doc>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>x</localName> <qualifiedName>x</qualifiedName> <value>foo</value> <type>CDATA</type> </attribute> <attribute> <namespaceURI/> <localName>y</localName> <qualifiedName>y</qualifiedName> <value>bar</value> <type>CDATA</type> </attribute> </attributes> </startElement> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>aa</localName> <qualifiedName>aa</qualifiedName> </endElement> <fatalError/> <endDocument/> </ConformanceResults> |