this.configurationParameters,
this.resourceParameters,
this.resolver);
XMLSerializer serializer = null;
XMLDeserializer deserializer = null;
try {
if ( ignoreErrors ) {
serializer = (XMLSerializer) this.manager.lookup(XMLSerializer.ROLE);
deserializer = (XMLDeserializer)this.manager.lookup(XMLDeserializer.ROLE);
SourceUtil.toSAX(source, serializer, this.configurationParameters, true);
deserializer.setConsumer( this.xmlConsumer );
deserializer.deserialize( serializer.getSAXFragment() );
} else {
SourceUtil.toSAX(source, this.xmlConsumer, this.configurationParameters, true);
}
} catch (ProcessingException pe) {
if (!ignoreErrors) throw pe;