I have a setup using xinclude that I know should work but I get the following error when I run it:
ERROR (2004-03-20) 19:25.16:809 [access] (/app/xincludetest) http8080-Processor23/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293)
...
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.xalan.transformer.TransformerImpl.run(Unknown Source)
at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Unknown Source)
...
and later:
FATAL_E (2004-03-20) 19:40.36:942 [core.xslt-processor] (/app/xincludetest) http8080-Processor25/TraxErrorHandler: Error in TraxTransformer: javax.xml.transform.TransformerException: java.lang.NullPointerException
javax.xml.transform.TransformerException: java.lang.NullPointerException
My pipeline is:
<map:pipeline>
<map:match pattern="xincludetest">
<map:generate src="page.xml"/>
<map:transform type="xinclude"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>and page.xml is:
<?xml version="1.0" encoding="ISO-8859-1" ?> <page xmlns:xi="http://www.w3.org/2001/XInclude">
<file file="file1.xml">
<xi:include href="cocoon:/docs/file1.xml"/>
</file></page>
and i have an appropriate pipeline for accessing /docs/file1.xml
I'm running with Cocoon 2.1.4 under Tomcat 5.0.19, Windows.
Any suggestions as to what this could be would be appreciated.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
