Re: [xsl] Choosing the XSL Enginer with JDK1.4

Subject: Re: [xsl] Choosing the XSL Enginer with JDK1.4
From: joseph.a.gilvary@xxxxxxxxxx
Date: Mon, 21 Jul 2003 11:03:44 -0400
"Harihara Vinayakaram" <harihara.v@xxxxxxxxx>
Sent by: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
07/21/2003 10:33 AM
Please respond to xsl-list

 
        To:     <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
        cc: 
        Subject:        [xsl] Choosing the XSL Enginer with JDK1.4


Hi,
                 My application uses both the Oracle XML/XSL Processor and 
the Xalan XSL Transform Engine.

                 My problem is that the Oracle Processor is getting 
invoked instead of the Xalan processor.  How do I change it ? 

                 I use JDK 1.4 on Solaris 9 .

<snip />
                 I run the following command

                                 java -cp jarfile1 : jarfile2 :   jarfile3 
 org.apache.xalan.xslt.Process -IN abc.xml -XSL abc.xsl -OUT abc

 
<snip />

 
Problems :
                 Irrespective of what I try to do the Oracle's Parser is 
getting invoked. I even tried setting the xerces and xalan in the 
classpath before





Try putting the Xerces and Xalan jars in the endorsed directory or 
specifying 
the endorsed directory on the command line with the -Djava.endorsed.dirs= 
option. 
Sun has detailed documentation at 
http://java.sun.com/j2se/1.4.1/docs/guide/standards/

 HTH,

 Joe


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread