cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Fw: About connecting pipelines - something is wrong.....
Date Fri, 05 Oct 2001 14:25:05 GMT
May be this question is better for developer audience ?

----- Original Message -----
From: "Alexander Smirnoff" <asmirnoff@vistar.ca>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, October 04, 2001 6:18 PM
Subject: About connecting pipelines - something is wrong.....


> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message