Transformation with Xalan 2.7.0 and JDK 1.4.2

Having trouble installing Oxygen? Got a bug to report? Post it all here.
md283aa
Posts: 6
Joined: Tue Nov 29, 2005 4:39 pm

Transformation with Xalan 2.7.0 and JDK 1.4.2

Post by md283aa »

Hi.

Isn't it possible to use Xalan 2.7.0 which is shipped with current version 6.2.6 on JDK 1.4.2? Oxygenxml is running within Eclipse and tells me that Xalan needs Java Version 1.5.

I don't think so.

Regards, Kai
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Dear Kai,

That should be possible but you need to use the Endorsed Standards Override Mechanism as described on the Xalan website:
http://xml.apache.org/xalan-j/faq.html#faq-N100D6

Best Regards,
George
md283aa
Posts: 6
Joined: Tue Nov 29, 2005 4:39 pm

Post by md283aa »

Dear George,

I don't think this will solve my problem. I have no preference which version of Xalan is used. I only want to select Xalan for XSL Transformations within Oxygenxml (Eclipse). But selecting Xalan in a Transformation Scenario results in the error message:

"The required Java version for running Xalan 2.7.0 is 1.5 or grater. Please make sure that Eclipse is using it."

So I can not use Xalan transformer within Oxygenxml (Eclipse)?

Best Regards,
Kai
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Kai,

You need to run Eclipse with Java 1.5 instead of Java 1.4. For that you need to have a Java 1.5 installation and pass in command line to Eclipse the path to that Java installation, so you need to start Eclipse with something like:

eclipse -clean -vm c:\yourHavaDir\bin\java.exe -vmargs -Xmx256m

Best Regards,
George
Post Reply