| Subject: [xsl] Java extension functions From: "Matthew L. Avizinis" <mla@xxxxxxxxx> Date: Mon, 24 Sep 2001 18:06:44 -0400 | 
I have attempted to call, just for the heck of it, the function in Michael
Kay's book XSLT Programmer's Reference 2nd Edition on as described on page
583 using XalanJ.  It returns the message : For extension function, could
not find method java.lang.Double.max([Expression
Context,] #NUMBER).
The function on page 133 returns the message: XSLT Error
(javax.xml.transform.TransformerException): Instance method call to method
new requires an Object instance as first argument
Is this a classpath problem or something else?  I know Xalan supposedly
supports Java.  Or is it that it doesn't implement the <xsl:script> element
and uses the <xalan:script> element instead?
thanks in advance,
  Matthew L. Avizinis
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
     www.gleim.com
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Re: RE: Namespace incompa, Evan Lenz | Thread | RE: [xsl] Java extension functions, Michael Kay | 
| Re: [xsl] Adding structure to a doc, Jörg Heinicke | Date | RE: [xsl] accessing previous and ne, Chris Bayes | 
| Month |