XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Steve YlvisakerSubject: Maximum Recursion Level Exceeded
Author: Steve Ylvisaker
Date: 29 Mar 2006 10:57 AM
I am using the Saxon 8.6.1 processor. I have the Max Recursion Level set to the highest level and I am getting this error message - then aborting.

I can't find documentation that explains what the recursion level is. If I knew, I could make adjustments. Please fill me in.
Thanks

Postnext
Minollo I.Subject: Maximum Recursion Level Exceeded
Author: Minollo I.
Date: 29 Mar 2006 11:11 AM
Receiving that error is a symptom that your XSLT may be entering an infinite recursion loop. Are you sure that's not the underlying problem?

There was also a problem in older version of Stylus Studio that triggered that warning when running with Saxon, even if the recursion limit had not actually been hit; that has been fixed in the latest 2006 Release 2 version, that you can download and try from http://www.stylusstudio.com/download

A workaround is also described at http://www.stylusstudio.com/SSDN/default.asp?action=9&read=4757&fid=48

Hope this helps,
Minollo

Postnext
Steve YlvisakerSubject: Maximum Recursion Level Exceeded
Author: Steve Ylvisaker
Date: 29 Mar 2006 12:16 PM
I am using a version of stylus studio that I purchased in the last month. It is Home Edition 2006 build 501h

I think I need to know what Recursion Level is being exceeded so I can make adjustments. Can you tell me what this error really means?

Thanks in advance
Steve

Postnext
Minollo I.Subject: Maximum Recursion Level Exceeded
Author: Minollo I.
Date: 29 Mar 2006 01:36 PM
The error means that you have exceed a safety limit on the depth of recursion your XSLT is hitting (the stack of templates invoking other templates is getting too deep). As I mentioned, that may be a real problem - your XSLT is hitting an infinite recursion loop, and you should fix the XSLT, or it may be triggered by a defect in the build you are using.

I would try using version 2006 Release 2, which fixes the defect; if the error persists, I would take a close look at the XSLT and try to understand where the problem is.

Minollo

Postnext
Steve YlvisakerSubject: Maximum Recursion Level Exceeded
Author: Steve Ylvisaker
Date: 29 Mar 2006 02:35 PM
Thanks for looking at this with me.

I just installed build 501i. It looks to me like it is the most current version. Is it "version 2" mentioned above? I am still exceeding the maximum. I am not in a loop as I am watching the output and it is normal. I am most of the way through my document before I abort.

I am combining some basic templates that format XSL:FO titles and paragraph output with some fairly complicated table constructs. Individually both have worked fine. I successfully format 4 tables and most of the document before the process stops.

Are there some settings I can change? Is there another processor, other than Saxon, that is 2.0 compliant that I could try?

Steve

Postnext
Minollo I.Subject: Maximum Recursion Level Exceeded
Author: Minollo I.
Date: 29 Mar 2006 02:40 PM
Steve,
please install build 591b, available from http://www.stylusstudio.com/download

501i is still 2006 release 1; you can install 591b side by side with 501i.

Thanks,
Minollo

Posttop
Steve YlvisakerSubject: Maximum Recursion Level Exceeded
Author: Steve Ylvisaker
Date: 29 Mar 2006 03:28 PM
Thanks - that fixed it

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.