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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to