cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: CocoonServlet Fixes - improved error reporting
Date Fri, 31 May 2002 19:37:20 GMT
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
> 
> Fixed error reporting in CocoonServlet: stream is now closed at the
end of
> the service method (why wasn't it closed before?), the content-type is
sent
> before sending the error and the notification messages are now more
> descriptive.
> 
> Does someone know the reason that Cocoon returns a boolean?
> 
> Changed also the Notifier notify() methods to accept a mimetype
instead of
> returning it (killed a FIXME in the process :-)
> There is no way in which this method could understand what mime/type
to use
> from the notification info and the stream. It was added also to the
method
> using a ContentHandler, since it could output svg for example.
> The old methods were deprecated.
> 
> I would like to see these in 2.0.3 branch too, but since they touch
such
> important parts of Cocoon, I would like to see what you think of them.

+2 for changes in CocoonServlet code - AFAIU, they fix some issues with
error processing/closed response/etc.

+0 for the rest: Don't know much about notifier.

Vadim


> Cheers!
> 
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------


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


Mime
View raw message