Problems in moving from xalan to saxon
843834Oct 14 2004 — edited Oct 16 2004I am trying change my XSL processor to saxon from xalan. I am facing some problems while doing.
1. I am running my Tomcat from Eclipse environment, and saxon is expecting the xsl pages at eclipse home rather inside the webapp home.
2. Then, I copied the files to eclipse home. I am getting the following exception
javax.xml.transform.TransformerConfigurationException: net.sf.saxon.xpath.StaticError: Duplicate global variable declaration (see line 70 of file:/E:/eclipse/local/hig/searchresults_common.xsl)
I cleared the duplicate variables, and still getting the same problem even if there no duplicate variables.
I added saxon jars to my WEB-INF\lib. Do I need to do anything. And, I passed -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl to java.
Am I missing anything else?
Any help is greatly appreciated.
Regards,
Seenu