XMLUnit.setIgnoreComments(true);
Diff xmlDiff = new Diff(new InputStreamReader(expectedPageCode), new StringReader(pageCode));
xmlDiff.overrideDifferenceListener(getDifferenceListener());
if (!xmlDiff.similar()) {
System.out.println("=== ACTUAL PAGE CODE ===");
System.out.println(pageCode);
System.out.println("======== ERROR =========");
System.out.println(xmlDiff.toString());
System.out.println("========================");