public static XmlPullParser create(ResourceFile file, ErrorHandler errHandler, boolean validate)
			throws SAXException, IOException {
		return new ThreadedXmlPullParserImpl(file, errHandler, validate, 1000);
	}
Constructs a new parser using the specified XML file.

@param file
           the input XML file
@param errHandler
           the XML error handler
@param validate
           true if the parse should validate against the DTD
@throws SAXException
            if an XML parse error occurs
@throws IOException
            if an i/o error occurs
Ghidra/Framework/Generic/src/main/java/ghidra/xml/XmlPullParserFactory.java