String str = sw.toString();
assertEquals("" + j, target, normalize(str));
StringReader sr = new StringReader(str);
XMLRecordReader xrr = new XMLRecordReader(sr);
boolean[] out = xrr.boolArray("test");
assertNotNull("" + j, out);
assertEquals("" + j, data.length, out.length);
for (int i = 0; i < data.length; ++i) {
assertEquals("" + j + "/" + i, data[i], out[i]);