You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Henry Zongaro <zo...@ca.ibm.com> on 2006/12/07 19:33:46 UTC

Re: StackOverflowError when attempting XSL transformation

Hi, Rob.

RobE <re...@thunderhead.com> wrote on 2006-11-27 07:06:31 AM:
> I have been getting a StackOverflowError when trying to perform an XSL
> transformation using Xalan 2.7.0 with a styleshhet I had written. I have
> simplified the the XSL and the problem seems to be related to an xpath
> expression used in an if, but I can't see anything wrong with it. 
> Attached is a sample xml and simplified xsl that give the error.
> 
> http://www.nabble.com/file/4289/test.xml test.xml 
> http://www.nabble.com/file/4290/test.xsl test.xsl 
> 
> The error message I get from Xalan is 
> (Location of error unknown)XSLT Error (java.lang.StackOverflowError): 
null
> Exception in thread "main" java.lang.RuntimeException
>         at org.apache.xalan.xslt.Process.doExit(Process.java:1153)
>         at org.apache.xalan.xslt.Process.main(Process.java:1126)

I don't think anybody ever responded to you.  I am able to reproduce the 
problem.  It looks like a bug in the XPath expression parser.  Could I ask 
you to open a bug report in Jira?

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com