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

Re: Problems using java extensions with XSL

Subject: Re: Problems using java extensions with XSL
From: Gunther Schadow <gunther@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 06 Dec 2002 10:22:16 -0500
java org.apache.xml not found classpath
Carlos Barroso wrote:

> In windows this works perfectly. In Linux, with the same classpath, it gives
> me
> the following error:
>
> java.lang.NoSuchMethodException: For extension function, could not
> find method
> org.apache.xml.utils.NodeVector.finalString([ExpressionContext,] #NUMBER,
> #NUMBER).
>
> NOTE: in windows and in linux I put "ProcessText.class" in the same
> directory of the XSL file.


Hmmm, I'd have expected a class-not-found exception, but this one?
Anyway ...

You may be calling your xslt-processor differently. I had the same
trouble lately before I realized that

java -jar saxon7.jar

behaves entirely different to

java net.sf.saxon.Transform

The java -jar form will IGNORE your CLASSPATH environment variable!!!
It's easy to get the startup call different in the different installations on your different systems. And you thought java -jar
was a convenient way of invoking a Java program :-)


regards
-Gunther




-- Gunther Schadow, M.D., Ph.D. gschadow@xxxxxxxxxxxxxxx Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistant Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org



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


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.