Tests Misc with white spaces
<?xml version='1.0' ?> <!DOCTYPE doc [ <!ELEMENT doc ANY> ]> <doc>S is in the following Misc</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>S</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>f</char> <char>o</char> <char>l</char> <char>l</char> <char>o</char> <char>w</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>M</char> <char>i</char> <char>s</char> <char>c</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>S</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>f</char> <char>o</char> <char>l</char> <char>l</char> <char>o</char> <char>w</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>M</char> <char>i</char> <char>s</char> <char>c</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |