This seems to be the same as another problem reported earlier today (off-list, but with a repro). It seems to be an error in the bug fix to

as the problem is apparently present in but not in I imagine differences you report are due to running different versions in different environments.

Michael Kay

On 16/11/2011 15:32, Jonathan Carter wrote:
Following on from my last post, the other error I encountered today with Saxon9HE (version was as follows.

On certain XSL transformations in my application, I was receiving a StackOverflow Exception and a very long stack trace showing what looks like an infinite loop in the net.sf.saxon.expr.ExpressionTool class.

Curiously, this worked when I ran my web application in Tomcat inside Eclipse but when I ran it in Tomcat stand-alone, I ran into these stack overflows - even when processing very small XML with very small XSL templates.

The specific messages I received are (with a very large number of the line 825 reported). All the entries in the stack trace were these:

stackoverflow net.sf.saxon.expr.ExpressionTool.resolveCallsToCurrentFunction(
stackoverflow net.sf.saxon.expr.ExpressionTool.resolveCallsToCurrentFunction(

I was able to resolve this one by downloading and using the latest version of Saxon9HE version 9.2.

Again, has anyone seen this sort of thing before? Is it a bug or something to do with my configuration?




Jonathan Carter 
Enterprise Architecture Solutions Ltd

Proud sponsors of The Essential Project
The free open-source Enterprise Architecture Management Platform

Enterprise Architecture Solutions Ltd, Registered in England and Wales: 04097721.
Registered Office: 76 High Street, Newport Pagnell, Milton Keynes, MK16 8AQ.

All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.

saxon-help mailing list archived at