Page 1 of 1

Transformation with Xalan 2.7.0 and JDK 1.4.2

Posted: Tue Nov 29, 2005 4:52 pm
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

Posted: Tue Nov 29, 2005 5:46 pm
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

Posted: Wed Nov 30, 2005 11:22 am
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

Posted: Wed Nov 30, 2005 11:50 am
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