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

RE: xslt extensions error : 'Call to extension functio

Subject: RE: xslt extensions error : 'Call to extension function failed'
From: Amit Deshpande <adeshpande@xxxxxxxxxxxxxxxx>
Date: Wed, 2 Oct 2002 07:46:00 -0700
amit deshpande
The XSLT processor I am  using is XALAN. I am not using the latest version
though. It is the one which is shipped with IBM Websphere3.5.
Amit

This is the complete JSP page that I used:
----------------------------------------------------------------
<%@ page import="org.apache.xalan.xslt.XSLTProcessor" %>
<%@ page import="org.apache.xalan.xslt.XSLTProcessorFactory" %>
<%@ page import="org.apache.xalan.xslt.XSLTInputSource" %>
<%@ page import="org.apache.xalan.xslt.XSLTResultTarget" %>
<%@ page import="org.apache.xalan.xslt.XSLProcessorException" %>
<%@ page import="org.xml.sax.SAXException" %>
<%@ page import="com.lotus.xml.xml4j2dom.XML4JLiaison4dom" %>

<%
    
    XSLTProcessor processor = XSLTProcessorFactory.getProcessor(
                                        new XML4JLiaison4dom() );
    XSLTInputSource xmlSource = new XSLTInputSource( "D://numlist.xml" );
    XSLTInputSource xslSource = new XSLTInputSource( "D://4-numlistJava.xsl"
);
    XSLTResultTarget result = new XSLTResultTarget( out );
    processor.process( xmlSource, xslSource, result );


%>
--------------------------------------------------------------------------


-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx]
Sent: Wednesday, October 02, 2002 9:42 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  xslt extensions error : 'Call to extension function
failed'


First thing you need to tell us is which XSLT processor you are using.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Amit Deshpande
> Sent: 02 October 2002 13:55
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xslt extensions error : 'Call to extension 
> function failed'
> 
> 
> I am trying to use xslt java extensions and am having 
> problems when I write my own custom classes and try to use 
> them. When I use the "xmlns:java" namespace the code runs fine.  
> The error I get when using my custom class is : "Call to 
> extension function
> failed: com.example.DateFormatter". The problem is the error 
> doesnt give out much information. Does anyone know what the 
> possible cause'(s) of this error are. Btw the code happens to 
> run on an appserver. Thanks in advance for all the help.
>  
> Amit
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


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

 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.