Does Cocoon allow transforms after using the SourceWritingTransformer? Example (note: xsl-file-B): <map:generate src="some-xml-file"/> <map:transform src="xsl-file-A"/> <map:transform type="SourceWritingTransformer"/> <map:transform src="xsl-file-B"/> <map:serialize/>
In Cocoon-2.0.4 (compiled with "build installscratchpadwar") it produces this beautiful error message: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:223) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:381) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:395) ... Tim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>