[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Maximum recursion depth exceeded

Subject: Re: Maximum recursion depth exceeded
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Tue, 07 Jul 2009 12:45:49 +0300
Re:  Maximum recursion depth exceeded
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.