* @param schema use schema adjustments in comparisons flag
* @throws XmlPullParserException on error creating parsers
*/
public DocumentComparator(PrintStream print, boolean schema)
throws XmlPullParserException {
XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
factory.setNamespaceAware(true);
m_parserA = factory.newPullParser();
m_parserB = factory.newPullParser();
m_differencePrint = print;
m_schemaCompare = schema;
}