valid CharData
<doc>a%b%</doc></doc>]]<&</doc>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char>a</char> <char>%</char> <char>b</char> <char>%</char> <char><</char> <char>/</char> <char>d</char> <char>o</char> <char>c</char> <char>></char> <char><</char> <char>/</char> <char>d</char> <char>o</char> <char>c</char> <char>></char> <char>]</char> <char>]</char> <char><</char> <char>&</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char>a</char> <char>%</char> <char>b</char> <char>%</char> <char><</char> <char>/</char> <char>d</char> <char>o</char> <char>c</char> <char>></char> <char><</char> <char>/</char> <char>d</char> <char>o</char> <char>c</char> <char>></char> <char>]</char> <char>]</char> <char><</char> <char>&</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |