XMLRecordWriter xrw = new XMLRecordWriter(sw);
String s = " This is <a> &&\t test. ";
String s1 = " This is <a> && test. ";
String t = " This is <a> && test. ";
xrw.string("x", s);
xrw.flush();
String str = sw.toString();
assertEquals("\n'" + normalize(str) + "' = \n'<x>" + t + "</x>", "<x>"
+ t + "</x>", normalize(str));