cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <je...@media.demon.co.uk>
Subject WriteableSourceTransformer update
Date Sat, 02 Mar 2002 13:52:41 GMT
Hi All,

Just committed an update to WriteableSourceTransformer.

I added code to use the new exists() and cancel(ContentHandler).

I use exists to determine if the file already exists, so we can report
again what action was taken.

As for cancel(ContentHandler), I catch SAXExceptions in all
SAXEventHandlers, call cancel, then re-throw.

I hope this is what was required .....

I do not know if it was expected to be able to catch errors from other
parts of the Pipeline, but unfortunately, the same problem still exists
using StreamGenerator. If you have invalid XML in your post, a partial
Source gets written.

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>

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


Mime
View raw message