Attribute uniqueness: repeated identical attribute
<?xml version="1.0"?> <!-- Attribute uniqueness: repeated identical attribute --> <foo xmlns:a="http://example.org/~wilbur" xmlns:b="http://example.org/~wilbur"> <bar a:attr="1" a:attr="2"/> </foo>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix>a</prefix> <data>http://example.org/~wilbur</data> </startPrefixMapping> <startPrefixMapping> <prefix>b</prefix> <data>http://example.org/~wilbur</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\n</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix>a</prefix> <data>http://example.org/~wilbur</data> </startPrefixMapping> <startPrefixMapping> <prefix>b</prefix> <data>http://example.org/~wilbur</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\n</char> <endDocument/> </ConformanceResults> |