cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: Who needs 386% speed up?
Date Mon, 28 Jan 2002 14:37:24 GMT
Michael Homeijer wrote:

>>-----Original Message-----
>>From: Torsten Curdt []
>>Sent: maandag 28 januari 2002 15:25
>>Subject: Re: Who needs 386% speed up?
> <snip>
>>>2) The wrapping the calls of the XSP to handle "return" 
>>calls in the middle of
>>>    a SAX stream.  I think we decided to remove this 
>>"feature", but I don't recall
>>>    if it was actually done.
>>Hm.. I guess all we decided was to add a comment to the 
>>documentation that
>>return calls in a XSP page are to be considered *bad*
> Everybody talks about returns, but what about exceptions.
> Should we also document that possible exceptions in an XSP page are
> considered *bad*?
> Or am I missing the point here?

No, you have the point.  An exception signals that something is wrong.
There is the ResourceNotFoundException which signifies that processing
cannot continue because the source file is not there.  Generally speaking,
any exception thrown from the pipeline generates an error page.  Therefore,
everyone is pretty confident that throwing exceptions on purpose is not


"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin

To unsubscribe, e-mail:
For additional commands, email:

View raw message