[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Tricky transformation task
> - My xml's sometimes have more than a few thousand <LINK> > tags and after some magical threshold (a few hundred) the > stylesheet throws the following error: > "Too many nested apply-templates calls. The stylesheet may > be looping" Which Saxon release are you on? The stylesheet looks tail-recursive to me so I can't see any obvious reason why it should blow the stack. I may have missed something of course. If you're on the 8.9.0.4, send me the data and I'll look into it. Don't run in a debugging/tracing environment because that switches tail-call optimization off. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|