xsl-list
[Top] [All Lists]

Re: [xsl] Maximum recursion depth exceeded

2009-07-07 08:42:40
Hi,

I guess I wouldn't put myself in as a user that would request it, but
I can certainly see how I might find it to be a useful debugging tool.

Cheers,
Bryan

On Tue, Jul 7, 2009 at 11:45 AM, George Cristian
Bina<george(_at_)oxygenxml(_dot_)com> wrote:
Hi Bryan,

It is in a way equivalent with a transformation that ends with a runtime
exception, only that the exception is triggered by the user acting on the
"stop transformation" action.
We display a status message "Transformation ended by user" and no output. It
may be possible to recover a partial output but we never had such a request
from users.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

bryan rasmussen wrote:

oXygen sets a trace listener on Saxon to be able to offer the "Stop
Transformation" action that allows users to stop a transformation at any
time. That causes more method calls as Saxon will call the listener on
all
instructions and the transformation requires more stack memory. For
example
I was able to run your transformation setting the stack for oXygen to
10MB.
In the current development code of oXygen we found another way to
implement
the "Stop Transformation" action, without setting a trace listener on
Saxon
and your stylesheet works without problems with the default stack memory.


Just wondering - what happens to the result of a transformation if you
stop it before it is finished - does your method have access to a
partial result tree ?

Best Regards,
Bryan Rasmussen

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>