[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Maximum recursion depth exceeded

Subject: Re: Maximum recursion depth exceeded
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 7 Jul 2009 09:38:53 -0700
Re:  Maximum recursion depth exceeded
> I never said that Tail recursion is not supported in XSLT or
> system.xml.xsl. I said that the only .NET language I am aware of where
> it is supported is F# - I'm not sure if I would consider an XSLT
> compiled via XslCompiledTransform  to be a '.NET language' (I believe
> I used the example of C#) , I haven't really thought about it though -
> would you say it is?
>


I don't know what is your definition for a ".NET Language".
XslCompiledTransform is the latest .NET implementation of the XSLT 1.0
language. Whether XslCompiledTransform or F# are written in C# (or
VB.NET or any other language supported by the platform) has nothing to
do with the fact that they are language implementations officially
provided by .NET


> but
> it is annoying when I know I have a function that is properly tail
> recursive and it overflows anyway...(This would be a C# problem, not
> XSLT in System.XML.XSL)

This would be XSLT implementation problem (nothing to do with
recursion in C#), and only implementation problem, because there is no
text in the Specs of XSLT 1.0/2.0 that mandates the recognition and
optimization of tail recursion.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.