InputSource newSource = new InputSource(new ByteArrayInputStream(
right.getBytes()));
DomTreeBuilder ancestorHandler = new DomTreeBuilder();
cleaner.cleanAndParse(ancestorSource, ancestorHandler);
TextNodeComparator ancestorComparator = new TextNodeComparator(
ancestorHandler, locale, true);
DomTreeBuilder oldHandler = new DomTreeBuilder();
cleaner.cleanAndParse(oldSource, oldHandler);
TextNodeComparator leftComparator = new TextNodeComparator(
oldHandler, locale, true);
DomTreeBuilder newHandler = new DomTreeBuilder();
cleaner.cleanAndParse(newSource, newHandler);
TextNodeComparator rightComparator = new TextNodeComparator(
newHandler, locale, true);
postProcess.startDocument();
postProcess.startElement("", "diffreport", "diffreport",
new AttributesImpl());