Page 1 of 1

Use Xproc with oxygen old version

Posted: Mon May 05, 2014 5:17 pm
by katwes
Hello,

I’m using an old version of Oxygen XML Enterprise Editor 11.2, build 2010090711
Saxon 6 6.5.5
Saxon EE 9.2.0.6 (Oxygen build)
Calabash 0.9.19

I’m trying to use xproc

Code: Select all

java -classpath "C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/calabash.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9-s9api.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9sa.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-httpclient-3.1.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-logging-1.0.4.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-codec-1.3.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib" -Dcom.xmlcalabash.phonehome=false com.xmlcalabash.drivers.Main -a ${cfne}
but when I tried to run it I have an error :

Code: Select all

Started: java -classpath "C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/calabash.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9-s9api.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/xproc/calabash/saxon9sa.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-httpclient-3.1.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-logging-1.0.4.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib/commons-codec-1.3.jar;C:/Program Files (x86)/Oxygen XML Editor 11/lib" -Dcom.xmlcalabash.phonehome=false com.xmlcalabash.drivers.Main -a Export_EPV_V40.xsl
FATAL: Failed to parse configuration file.
java.lang.RuntimeException: Build error: Saxon-SA release date does not match Saxon-B release date
Picked up _JAVA_OPTIONS: -Xmx512M
Process ended with exit code: 2
Is it possible for me to use xproc with my version and how to do this

Thanks

Re: Use Xproc with oxygen old version

Posted: Tue May 06, 2014 4:28 pm
by adrian
Hi,

In case anyone else encounters this.
v11.2 has the Calabash XProc processor builtin, so it can be used directly from an XProc transformation scenario. So, it's not necessary to configure Calabash as an external processor.

In this case, it didn't work because two editions of Saxon were mixed in the classpath:
- Saxon-B - Oxygen/lib/xproc/calabash/saxon9.jar
- Saxon-SA Oxygen/lib/xproc/calabash/saxon9sa.jar
These are not included in the Oxygen kit in that location. If you have a separate license for Saxon-SA, keep that one, otherwise stick with the free Saxon-B.

Regards,
Adrian

Re: Use Xproc with oxygen old version

Posted: Tue May 06, 2014 8:14 pm
by katwes
Hello,

I added the two jar files saxon9.jar and saxon9sa.jar.
After deleting this files oxygen works fine.

Thank you