String str = sw.toString();
assertEquals(null, "<x>zero</x><y>one</y>", normalize(str));
StringReader sr = new StringReader(str);
XMLRecordReader xrr = new XMLRecordReader(sr);
assertEquals(null, 0, xrr.namedIndex("x", names));
assertEquals(null, 1, xrr.namedIndex("y", names));
}
public void testNamedIndexArray() {
String[] names = { "zero", "one" };