// release parser back to the pool
if (pool != null)
{
pool.release(parser, parserFeatures, parserProperties, Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER)));
pool.releaseDefaultHandler((XMLDefaultHandler)handler, options);
}
helper = null;
handleErrors();
}