// Reuse the xref and verify that the broken syntax in the previous
// file doesn't cause broken highlighting in the next file
out = new StringWriter();
String contents = "echo \"hello\"";
xref.reInit(contents.toCharArray(), contents.length());
xref.write(out);
assertEquals(
FIRST_LINE_PREAMBLE +
"<b>echo</b> <span class=\"s\">\"hello\"</span>",
out.toString());