Project

Profile

Help

Support #1355

closed

XSLT stylesheet failing due to "infinite" recursion

Added by Anonymous over 16 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1836677
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: jak09

This is a continuation of the "limitation of the number of recursion" thread from the forum.

I've attached my code that is failing. Its a bit messy; don't spend too much time on it.

I run

java -jar saxon9.jar kunoichi.longer.xml h264.dependencies.xslt

It fails with the "infinite recursion" error at groupID=105

Regards,

Joe.


Files

tailrecursion.zip (9.56 KB) tailrecursion.zip Anonymous, 2007-11-22 22:01
Actions #1

Updated by Anonymous over 16 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

Originator: NO

I've taken the opportunity to implement tail-call optimization for xsl:next-match, this fixes the problem and will feature in the next Saxon release.

In the meantime you can probably work around it by replacing your calls on next-match with an xsl:call-template instruction, or xsl:apply-templates in a particular mode.

Please register to edit this issue

Also available in: Atom PDF