cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schmitt ...@ffzj0ia9.bank.dresdner.net>
Subject Re: [C2]: Attempt to process incomplete Pipeline
Date Tue, 29 Jan 2002 11:31:35 GMT
On Tue, Jan 29, 2002 at 11:15:10AM +0200, MOODAD (Shadi LB Soft) wrote:
Hi,
as the error messages says: The pipeline is incomplete.
This means that you have to specify a serializer:
 <map:serializer type="xml"/>
 
This would output your file as XML.

Hth,
Christian


> Hi,
> I'm trying to make a static pipeline that read an xml file with an
> extention of type .xml then display it @ the console by defining the
> following pipeline.
> 
>   <map:pipeline>
>    <map:match pattern="test/TestXML.xml">
>     <map:read src="test/TestXML.xml" mime-type="text/xml"/>
>    </map:match>
>   </map:pipeline>
> 
> so when I call the TestXML.xml i got the following error.
> 
> org.apache.cocoon.ProcessingException: Attempted to process incomplete
> pipeline.
>         at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:235)
> 
>         at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
> 
> Could anyone help me plz: the reason of the error and how to solve it.
>   ?should I define another pipeline.
> NB: I run cocoon2 as a servlet.
> 
> thanx
> --
> Soft Solutions, Liban
> Net Developper
> Moodad Shadi
> 
> www.softsolutions.fr
>  

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


Mime
View raw message