}
}
SAXSource source = new SAXSource();
source.setInputSource(input);
source.setXMLReader(parser);
ContentHandlerProxy result = new ContentHandlerProxy();
result.setPipelineConfiguration(controller.makePipelineConfiguration());
result.setUnderlyingContentHandler(contentHandler);
if (lexicalHandler!=null) {
result.setLexicalHandler(lexicalHandler);
}
try {
//result.open();
result.setOutputProperties(controller.getOutputProperties());
controller.transform(source, result);
} catch (TransformerException err) {
Throwable cause = err.getException();
if (cause != null && cause instanceof SAXException) {
throw (SAXException)cause;