cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Froehlich <g-froehl...@gmx.de>
Subject Re: AW: [c2 todo] handle error inside pipeline
Date Mon, 13 Aug 2001 14:33:00 GMT
> Yes, this is exactly the problem. If you use any other serializer, e.g.
> html,
> and an exception occurs in the middle of the processing, the response
> contains
> the "first correct part" of the html, the exception triggers the
> <map:handle-errors>
> "pipeline", the ErrorNotifier creates SAX events for the exception and
> these
> SAX events are handled by <map:handle-errors> "pipeline", e.g. by using a
> stylesheet
> to transform this to html.
> 
> Now the whole response consists of the "first correct part in html" and
> the
> exception in html, which is quiet a mess on the client.
> 
> If you use PDF (or the FOPSerializer) an intermediate output stream is
> already created
> which should avoid the scenario you described above.
> 
> We had several weeks ago a discussion on this topic. I think the most
> other
> developers
> (excluding me) favored the "configurable per pipeline" approach, which
> means
> the
> sitemap editor has to take care, which pipelines should use this
> intermediate output
> stream and which not (default is not). This decission was made because of
> possible
> performance lost if the intermediate output stream was used everywhere.
Oh I didn't seen this thread, sorry. So much traffic in this list the last
months. 
Do you know the topic of this thread, then I will get it from the archive
and re-read 
it.

Cheers
Gerhard

-- 
Gerhard Fröhlich
g-froehlich@gmx.de

"black holes are,
when GOD is dividing by zero" 

Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a


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


Mime
View raw message