Michael Homeijer wrote:

>>-----Original Message-----
>>From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
>>Sent: maandag 28 januari 2002 15:25
>>To: [EMAIL PROTECTED]
>>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*
>>
This is actually done : see ServerPagesGenerator.

>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?
>
If an exception is thrown, the sitemap continues to <handle-errors> and 
thus there's no need to cleanly close the document. Note this is the 
case for all generators and transformers. There's no special case for 
XSPs here.

Sylvain

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to