Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Problems in moving from xalan to saxon

843834Oct 14 2004 — edited Oct 16 2004
I 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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2004
Added on Oct 14 2004
2 comments
295 views