[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Where is Process in JDK 1.5?

Subject: RE: Where is Process in JDK 1.5?
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Mon, 16 May 2005 10:25:51 -0700 (PDT)
xalan jdk 1.5
(IMHO) There is a bug in JDK 1.5 related to Xalan 2.6
command line.. java
com.sun.org.apache.xalan.internal.xslt.Process line
gives an error.. I don't remember the exact error, but
I think it was "main(String[] args) function is named
internally as _main(String[] args) .. This may be
checked with javap command..

Thi bug can be worked around easily by writing a
wrapper function for the class
com.sun.org.apache.xalan.internal.xslt.Process . I
remember this problem was raised by Wendell Piez few
days back..

Regards,
Mukul


--- Touchtel <omprakashv@xxxxxxxxxxxxxxxxx> wrote:
>          Hi,
>              The xerces and xalan packages are part
> of JAXP which is a
> standard package shipped along with jdk1.5.
> Consequently, the package names
> have changed and the xalan transformation process
> can be invoked using the
> command line
> 
>    %java
> com.sun.org.apache.xalan.internal.xslt.Process -IN
> a.xml -XSL
> a.xsl -OUT a.htm
> 
>     I haven't personally worked with jdk1.5 yet but
> Iam thinking the above
> should work.
> 
>    Cheers,
>    Omprakash.V
> 
> 
> -----Original Message-----
> From: Michael.Giroux@xxxxxxxx
> [mailto:Michael.Giroux@xxxxxxxx]
> Sent: Monday, May 16, 2005 9:14 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Where is Process in JDK 1.5?
> 
> 
> 
> 
> 
> 
> Using JDK 1.4.2, I'm able to invoke xsl translation
> from the command line
> as follows:
> java org.apache.xalan.xslt.Process -XSL my.xsl -IN
> my.xml -OUT
> myTranslated.xml
> 
> The same command fails w/ JDK 1.5:
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/xalan/xslt/Process
> 
> Can anyone tell me how to invoke xsl translation
> from command line using
> JDK 1.5?
> 
> Thanks
> Michael Giroux
> 
> 


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.