@Override
public Pipeline build(String pipelineUri, URIResolver... resolvers) {
try {
XProcConfiguration config = new XProcConfiguration(schemaAware);
XProcRuntime runtime = new XProcRuntime(config);
InputStreamUriParameterResolver streamResolver = new InputStreamUriParameterResolver(new XProcURIResolver(runtime));
streamResolver.addResolver(new ClassPathUriResolver());
for (URIResolver resolver: resolvers) {
streamResolver.addResolver(resolver);
}
runtime.setURIResolver(streamResolver);
XPipeline pipeline = runtime.load(new Input(pipelineUri));
return new CalabashPipeline(pipeline, runtime, streamResolver);
} catch (SaxonApiException ex) {