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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext 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!

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
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.