static void failWithInfo(String msg, XmlPullParser parser1, XmlPullParser parser2,
			XmlElement element1, XmlElement element2, Collection<String> currentPath) {

		Assert.fail("XML compare FAILED between\n" + parser1.getName() + ":" +
			parser1.getLineNumber() + " and " + parser2.getName() + ":" + parser2.getLineNumber() +
			"\n at path " + join(currentPath, "/") + ":\n" + msg + "\nElement 1: " +
			element1.toString() + "\nElement 2: " + element2.toString());
	}
@see org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException)
Ghidra/Features/Base/src/main/java/ghidra/util/xml/XmlTestHelper.java