[oXygen-user] How to Force Open Toolkit to Use Saxon 9?

Coravu Radu
Fri Jul 24 00:47:15 CDT 2009

Hi Eliot,

Just edit the transformation scenario and in the "Advanced" tab there is 
a "Libraries" button.
Remove the "${oxygenHome}/lib/saxon.jar" and add the Saxon 9 jars 
(either from the Oxygen library or from the toolkit's).
This will feed the ANT java.class.path with the libraries.
I do not know exactly what output format you are using, I will assume 
that you are probably using the IDIOM PDF target.
You should open the "frameworks\dita\DITA-OT\demo\fo\build.xml"
In the toolkit distributed with Oxygen the IDIOM build.xml has some 
patches in it for using the java class path and the Oxygen resolver.
I'm attaching the patched build for DITA OT 1.4.3 which comes by default 
with Oxygen.
You should search for "Oxygen patch" in it, particularly in the "<path 
id="project.class.path">" and maybe update the DITA OT 1.5 corresponding 
build.xml to use the patches.
By default the build.xml uses hardcoded paths to the saxon libraries in 
the "${lib.dir}/saxon" directory and this cannot be influenced from the 
Oxygen scenario.


Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Eliot Kimber wrote:
> I'm running the Toolkit from Oxygen. I'm using the 1.5 version that I've
> swapped into the base one.
> I'm finding that when I run the Toolkit through Oxygen I'm getting Xalan,
> not Saxon 9 when I must have XSLT 2 (and the 1.5 Toolkit includes Saxon 9 in
> its dist).
> I have been unable to figure out what I have to do in this scenario to make
> the Ant-driven process use Saxon.
> What am I missing?
> Thanks,
> E. 
> ----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.xml
Type: text/xml
Size: 14125 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20090724/e5d327ee/attachment.xml 

More information about the oXygen-user mailing list