}
private Pipeline<SAXPipelineComponent> createValidatingPipeline(String xmlInput) {
Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>();
pipeline.addComponent(new XMLGenerator(xmlInput));
pipeline.addComponent(new SchemaProcessorTransformer(this.getClass().getResource("/test.xsd")));
pipeline.addComponent(new XMLSerializer());
return pipeline;
}