Support #1355
closedXSLT stylesheet failing due to "infinite" recursion
0%
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
Updated by Anonymous about 17 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