cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: error handling
Date Thu, 03 Jun 2004 13:50:15 GMT


> I have an interal pipeline which sometimes
> throws an exception due to broken links.
> 
>   <map:pipeline>
       <map:match pattern="..">
>       <map:generate type="html" src="get/{1}"/>
>       <map:serialize type="xml"/>
       </map:match>
>     <map:handle-errors>
>       <map:generate src="default.xml"/>
>       <map:serialize type="xml"/>
>     </map:handle-errors>
>   </map:pipeline>
> 
> And another one using it
> 
>   <map:pipeline>
       <map:match patern=".."
>       <map:generate src="whatever.xml"/>
>       <map:transform type="cinclude"/> --> calls the intenal pipeline
>     ...
>   </map:pipeline>

...of course

We were discussing it here... does the cocoon
protocol create a new or use the existing
pipeline? ...if it's the same pipeline it
would explain the behaviour.

But IMHO it should work like in the
example above... WDYT?

cheers
--
Torsten

Mime
View raw message