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
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.
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?