if (saxParserClassName == null) {
saxParserClassName = "org.apache.xerces.parsers.SAXParser"; //$NON-NLS-1$
}
XMLReader xmlReader = XMLReaderFactory
.createXMLReader(saxParserClassName);
xmlReader.setContentHandler(new Handler(this, objects));
if (classLoader != null) {
oldCL = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(classLoader);
}
xmlReader.parse(new InputSource(is));