// - add a XNIConfigurableParserSelector that can select() based on full qualified class name
// - and release() after usage
// the select method could do 6 next lines:
catalogResolver = (EntityResolver)this.manager.lookup(EntityResolver.ROLE);
parserConfig.addRecognizedProperties(extendRecognizedProperties);
parserConfig.setProperty(FULL_ENTITY_RESOLVER_PROPERTY_URI, new EntityResolverWrapper(catalogResolver));
final XMLReader parser = new AbstractSAXParser(parserConfig){};
parser.setFeature("http://xml.org/sax/features/namespaces", true);
parser.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
parser.setContentHandler(this.contentHandler);
parser.parse(new InputSource(this.inputSource.getInputStream()));