This test case covers control characters x1 to x1F and x7F to x9F which should only appear as character references.
<?xml version="1.1" encoding="UTF-8" ?> <!DOCTYPE root [ <!ELEMENT root ANY> ]> <!-- This test case covers control characters x1 to x1F and x7F to x9F which should only appear as character references. --> <root> 	

   pwrstuvwxy  €ˆ‚ƒ„…†‡ˆ‰ Š‹ŒŽ ™’“”•–—˜™ š›œžŸ </root>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\u1</char> <char>\u2</char> <char>\u3</char> <char>\u4</char> <char>\u5</char> <char>\u6</char> <char>\u7</char> <char>\u8</char> <char>\t</char> <char>\n</char> <char>\uB</char> <char>\uC</char> <char>\r</char> <char>\uE</char> <char>\uF</char> <char>\n</char> <char>\u10</char> <char>\u11</char> <char>\u12</char> <char>\u13</char> <char>\u14</char> <char>\u15</char> <char>\u16</char> <char>\u17</char> <char>\u18</char> <char>\u19</char> <char>\n</char> <char>\u1A</char> <char>\u1B</char> <char>\u1C</char> <char>\u1D</char> <char>\u1E</char> <char>\u1F</char> <char>\n</char> <char>p</char> <char>w</char> <char>r</char> <char>s</char> <char>t</char> <char>u</char> <char>v</char> <char>w</char> <char>x</char> <char>y</char> <char>\n</char> <char>\u7F</char> <char>\n</char> <char>\u80</char> <char>\u88</char> <char>\u82</char> <char>\u83</char> <char>\u84</char> <char>\u85</char> <char>\u86</char> <char>\u87</char> <char>\u88</char> <char>\u89</char> <char>\n</char> <char>\u8A</char> <char>\u8B</char> <char>\u8C</char> <char>\u8D</char> <char>\u8E</char> <char>\u8F</char> <char>\n</char> <char>\u90</char> <char>\u99</char> <char>\u92</char> <char>\u93</char> <char>\u94</char> <char>\u95</char> <char>\u96</char> <char>\u97</char> <char>\u98</char> <char>\u99</char> <char>\n</char> <char>\u9A</char> <char>\u9B</char> <char>\u9C</char> <char>\u9D</char> <char>\u9E</char> <char>\u9F</char> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <fatalError/> </ConformanceResults> |