Subject:Exceed the maximum recursion depth Author:Mike Sapp Date:05 May 2008 05:26 AM
Im doing an XSL conversion of data exported from a CSV file. The XML file is approximately 11MB with over 11,000 rows of data. I keep getting the error that "XSLT processor has exceeded the maximum recursion depth".
I have tried maxing ouot the Maximum recursion level to high as well as disabling infinite loop detection. Are there any workarounds for large file conversion support?
Subject:Exceed the maximum recursion depth Author:James Durning Date:05 May 2008 04:17 PM
Do you have particular recursive templates that could be written elsewise? I suggest posting any parts of your code that contain call-templates or apply-templates.
Subject:Exceed the maximum recursion depth Author:Minollo I. Date:09 May 2008 01:18 PM
Any chance you can share with us a sample XML input? If you don't want to share it on the forum, maybe you can email it to stylus-field-report at progress dot com ?
Subject:Exceed the maximum recursion depth Author:Minollo I. Date:16 May 2008 10:26 AM
It looks like you are hitting a bug; the value of "Enable infinite loop detection" option doesn't seem to be honored.
For the time being, you can workaround the problem setting a very high value for the maximum recursion level directly in the registry, like, for example:
[HKEY_CURRENT_USER\Software\Stylus Studio\2008 XML Enterprise Suite Release 2\Plugin Settings]
"XSLT Editor: Option: RecursionLevel"=dword:00010000
(the correct registry key will depend on which Stylus Studio version/edition you are running)
Changes to the Tools > Options page will tend to reset that value to the maximum value accepted by the UI (500 decimal).