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 (1123)
+ Stylus Studio Technical Forum (13807)
+ Website Feedback (243)
- XSLT Help and Discussion (7447)
-> + Can't use (or see) XSLT or WYS... (3)
-> + Delete the xsi:nil attribute ... (2)
-> + FOTY0012: Cannot get the typed... (5)
-> + XSLT Mapper - Two way xslt map... (2)
-> + EDI (5)
-> + XSL Test for lack of XML eleme... (4)
-> + Trouble Calling a java functio... (4)
-> + How to generate EDI 997 (2)
-> + followup on tokenize with /r (5)
-> + tokenize a string with \r (4)
-> + How to convert XML to XLS file... (2)
-> - How to convert XML to XLS file... (1)
-> + how to pass value to xsl for t... (3)
-> + entity expansion liimit exceed... (4)
-> + Creating XSLT Stylesheet (2)
-> + Create XSLT from XSD (2)
-> + How to remove nodes from xml b... (4)
-> + Highlighting text in XSL file (4)
-> - XSLT to Excel, predefine cell ... (1)
-> + CSaxon8Driver issue...time out (2)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (1861)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Mike SappSubject: 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?

Postnext
James DurningSubject: 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.

Postnext
Mike SappSubject: Exceed the maximum recursion depth
Author: Mike Sapp
Date: 05 May 2008 11:39 PM
The xsl is attached

Thank you for the quick reply


UnknownReleaseTotaller.xsl

Postnext
Mike SappSubject: Exceed the maximum recursion depth
Author: Mike Sapp
Date: 08 May 2008 11:01 PM
Please let me know how i can solve this issue

Postnext
Minollo I.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 ?

Postnext
Mike SappSubject: Exceed the maximum recursion depth
Author: Mike Sapp
Date: 15 May 2008 10:59 PM
Thank you, i have sent the email. Looking forward to your reply

Postnext
Minollo I.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).

Posttop
Mike SappSubject: Exceed the maximum recursion depth
Author: Mike Sapp
Date: 17 May 2008 05:13 AM
Thank you for your help with this. The updated reg did the trick!

   
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-2011 All Rights Reserved.