public static void assertXMLFilesEquals(File expectedXMLFile, File testXMLFile)
			throws SAXException, IOException {

		XmlPullParser expectedXMLParser = XmlPullParserFactory.create(expectedXMLFile, null, false);
		XmlPullParser testXMLParser = XmlPullParserFactory.create(testXMLFile, null, false);

		assertXMLFilesEquals(expectedXMLParser, testXMLParser);
	}
@see org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException)
Ghidra/Features/Base/src/main/java/ghidra/util/xml/XmlTestHelper.java