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)

If I do the transformation within XMLSpy it does not report any errors so it
seems to be something to do with Xalan. Can anyone shed any light on this
problem? 

Thanks 
Rob

-- 
View this message in context: 
http://www.nabble.com/StackOverflowError-when-attempting-XSL-transformation-tf2711418.html#a7558996
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to