public void testCharacter() {
StringWriter sw = new StringWriter();
XMLRecordWriter xrw = new XMLRecordWriter(sw);
xrw.character("x", 'a');
xrw.character("y", 'b');
xrw.flush();
String str = sw.toString();
assertEquals(null, "<x>a</x><y>b</y>", normalize(str));
StringReader sr = new StringReader(str);