cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject [c2 todo] handle error inside pipeline
Date Sun, 12 Aug 2001 11:04:29 GMT
Hi Team,
following todo in the pipeline:
-->Check how to handle the mixing of output streams when an error inside a
pipeline occurs.
-->When the pipeline has something written to the output stream and then an
error occurs the
-->result is the first written part with the appended exception. One
solution could be
-->configurable intermediate output stream.

Let me try to retrace this problem:
A pipeline serializes for example a xml to pdf with fop. Now fop starts to
serialize the
xml to pfd. In the middle of the processing fop throws an exception, because
the xsl
stylesheet is buggy. But a part of the document is already serialized and
because of that
the acrobat reader opens and displays a corrupt pdf document.
Know you want something between the final output stream which handles this
errors, and throws
for example a ProcessingException.

Do I have the point if the problem?

Cheers
Gerhard


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


Mime
View raw message