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