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

Re: XSL and infinite loops

Subject: Re: XSL and infinite loops
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Aug 2004 10:19:52 +0100
infinite loops
> Is there a list of elements that can cause an infinite loop?

well xslt is a programming language so more or less aby combination of
elements can be made to program a loop.

If you allow the calling of external xpath functions then they may loop,
in which case any xslt element that takes an Xpath expression may loop,
so that would include anything with a test, select, match attribute and
anything with an attribute value template, so that is almost all xslt.

If you restrict XPath so it itself can't loop (which is probably teh
case for the core Xpath1 functions (It's not the case for core Xpath2 )
then you need to look at anything that moves the current node around the
input tree, so that would be 
<xsl:-for-each and xsl-apply-templates.
or calls named templates
so xsl:call-template

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.