environmentContext.initalisePipelineContextEnvironment(pipelineContext);
XMLPipeline pipeline = factory.createDynamicPipeline(pipelineContext);
// create the pipeline fiter
XMLPipelineFilter pipelineFilter = null;
try {
pipelineFilter =
factory.createPipelineFilter(pipeline);
} catch (SAXException se) {
throw new ExtendedRuntimeException(se);
}
// Get hold of a basic parser and set it as the parent of the pipeline
XMLReader reader = getXMLReader();
pipelineFilter.setParent(reader);
// store the Pipeline Context away in the environment context. This allows other
// objects access to the current pipeline context
setPipelineContext(pipelineContext, requestContext);