cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: SourceWritingTransformer : Cannot get 'xml' serializer
Date Tue, 26 Mar 2002 17:42:44 GMT
At 6:18 pm +0100 26/3/02, Matthieu Benéteau wrote:
>Hi,
>
>I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :).
>But I've encountered a problem using the scratchpad's
>SourceWritingTransformer.
>
>I used to use revision 1.6 of the old FileWritingTransformer.
>I've just changed "xfwt" into "source" and tested it, and I've received the
>following error :
>
>   action        : none
>   result        : failed
>   error message : "could not get a ContentHandler and failed to cancel"

May I see the setup you used?

1. Declaration of SourceWritingTransformer in the SiteMap
2. Usage of the SourceWritingTransformer in the SiteMap
3. The actual tag you generate to trigger SourceWritingTransformer

>Here are the 2 exceptions of the sitemap.log :
>
>WARN    (2002-03-26) 17:40.48:760
>[sitemap.transformer.tofile](/myproject/request)
>HttpProcessor[8080][0]/SourceWritingTransformer: failed, could not get a
>ContentHandler
>org.apache.cocoon.ProcessingException: Cannot get 'xml' serializer

Do you have a serializer set up called 'xml', maybe you removed the default
from the main sitemap?


>Thanks in advance,
>Matthieu

Thanks for trying this out.

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>

---------------------------------------------------------------------
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>


Mime
View raw message