Hi evryone,

The same problem still bothering me:

<map:pipeline>
     <map:match pattern="request/messages">
           <map:generate src="cocoon:/req"/>
           <map:serialize type="xml"/>
     </map:match>
</map:pipeline>
<map:pipeline internal-only="true">
     <map:match pattern="req">
           <map:generate src="content/xml/cover.xml"/>
           <map:serialize type="xml"/>
     </map:match>
</map:pipeline>

This example works fine, but when I use <map:generate type="stream"/> in the
second pipeline I'm getting an error: org.apache.cocoon.ProcessingException:
Exception in StreamGenerator.generate(): java.lang.ClassCastException:
org.apache.cocoon.environment.wrapper.RequestWrapper.

Is this a BUG? Or its just me?

My basic idea is to get request XML from the client, transform it with XSLT
into legal XSP, process it in the second pipeline and get it back to the
client.


Alexander Smirnoff


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to