various valid Name constructions
<doc> <A:._-0/> <::._-0/> <_:._-0/> <A/> <_/> <:/> </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> <char>\n</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char>\n</char> <startElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>A:._-0</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>A:._-0</qualifiedName> </endElement> <char>\n</char> <startElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>::._-0</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>::._-0</qualifiedName> </endElement> <char>\n</char> <startElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>_:._-0</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>._-0</localName> <qualifiedName>_:._-0</qualifiedName> </endElement> <char>\n</char> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <char>\n</char> <startElement> <namespaceURI/> <localName>_</localName> <qualifiedName>_</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>_</localName> <qualifiedName>_</qualifiedName> </endElement> <char>\n</char> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.NegativeArraySizeException"/> </ConformanceResults> |