Use Xproc with oxygen old version

Questions about XML that are not covered by the other forums should go here.
katwes
Posts: 2

Use Xproc with oxygen old version

Mon May 05, 2014 5:17 pm

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
adrian
Posts: 2453

Re: Use Xproc with oxygen old version

Tue May 06, 2014 4:28 pm

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
katwes
Posts: 2

Re: Use Xproc with oxygen old version

Tue May 06, 2014 8:14 pm

Hello,

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

Thank you

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 2 guests