Problem with serializers
From the latest 2.1 dev out of CVS, I'm having trouble with serializers in general, so something in general is haywire. I have a very minimal sitemap, which is below an even more minimal sitemap. I'm just trying (for now) to read an xml file with a generator, then serialize it as xml or text or html etc. The error I get (after making sure that all the components are registered) is: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: Cannot set XMLSerializer outputstream: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! The stack trace is below. This same xml and sitemap setup works in 2.0.4, and worked in earlier versions. I've tried switching from XSLTC to Xalan, but this didn't change anything. Does this look familiar to anyone? thanx, rob org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: Cannot set XMLSerializer outputstream: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:484) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:149) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299) at org.apache.cocoon.Cocoon.process(Cocoon.java:596) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) Robert E. Parrott Department of Physics 351 Jefferson Laboratory Harvard University 17 Oxford St. Cambridge, Massachusetts 02138 (617)-495-2867 [EMAIL PROTECTED] [EMAIL PROTECTED] (permanent) -
Re: Problem with serializers
Hello Robert, it's the old JAR problem using Java 1.4. Copy xalan-xx.jar, xerces-xx.jar and xml-apis.jar (the versions used in current Cocoon) for example into %TOMCAT_HOME%/common/endorsed. Regards, Joerg Robert Ellis Parrott wrote: From the latest 2.1 dev out of CVS, I'm having trouble with serializers in general, so something in general is haywire. I have a very minimal sitemap, which is below an even more minimal sitemap. I'm just trying (for now) to read an xml file with a generator, then serialize it as xml or text or html etc. The error I get (after making sure that all the components are registered) is: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: Cannot set XMLSerializer outputstream: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! The stack trace is below. This same xml and sitemap setup works in 2.0.4, and worked in earlier versions. I've tried switching from XSLTC to Xalan, but this didn't change anything. Does this look familiar to anyone? thanx, rob - 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]
Problem with serializers
This looks very similar to my problem with 2.1-dev and jdk1.4 and Tomcat4.1.12 per my posting: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104041952007585w=2 I have to create that endorsed directory in Tomcat and copied xalan*.jar, xerces*.jar and xml-apis.jar from cocoon/WEB-INF/lib (or from xml-cocoon2/lib/core in cvs) to $TOMCAT_HOME/common/endorsed. Hope this helps. aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]