Um, this really sounds like a problem with your servlet engine, not with
Xalan. We (obviously) can't control how the appserver or servlet engine
that we're contained in handles it's classloading or handling of URL
references, etc.
Also: is that even a legal namespace? I don't understand how '{packages
list}.ChartEngine' gets translated into a legal Java package.class name.
I'm presuming that the servlet environment somehow substitutes the proper
Java package name for that, correct?
- Shane
---- you "Rajesh Balu" <[EMAIL PROTECTED]> wrote ----
> I am trying to call a java method during XSL transformation:
> My XSL Looks like this: <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:lxslt="http://xml.apache.org/xslt"
> xmlns:chart="class:{packages list}.ChartEngine"
> extension-element-prefixes="chart"> <lxslt:component
prefix="chart" elements="createPieChart createGraph">
> <lxslt:script lang="javaclass" src="class:{packages
list}.ChartEngine"/>
> </lxslt:component>
> .
> .
> .
> <xsl:when test="count($pieData) > 0">
> <chart:createPieChart/>
> </xsl:when> I m getting the error:
> Call to extension element failed: {packages list}.ChartEngine What is
problem. This was working on a Weblogic on Unix and Win. The problem
> is when the appserver is changed to Inprise App Server on Unix. Please
> help....Thanks in advance Rajesh.