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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.