At 05:01 PM 7/24/2002 -0400, [EMAIL PROTECTED] wrote:
Just to add my $0.02, but I am getting the exact same thing with the exact same scenario. I am using Xalan 2.4D1.
Also, upon startup, I get these types of warnings as I am generating Templates objects using the xsltc TransformerFactoryImpl.
WARNING: file:///<xsl-stylesheet>.xsl: Unable to resolve call to function '<fully.qualified.classname:static-method-name'
Any ideas?
Thanks in advance,
Mario-
OK - well I finally got the package name set, the correct classname and everything. Now when I attempt to compile this it gets to my exension method call and I get this RuntimeException:
java.lang.RuntimeException: External function 'xalan://com.company.util.ExtUtils:getAuthIDRequest' not supported by XSLTC.
Are external functions supported at all? Maybe only certain ones? Here is an example of the call from the XSL stylesheet...
...snip... <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:util="xalan://com.company.util.ExtUtils" xmlns:xalan="http://xml.apache.org/xslt" exclude-result-prefixes="util" > ...snip... <AUTHID><xsl:value-of select="util:getAuthIDRequest()"/></AUTHID> ...snip...
Then I've got a method in the ExtUtils class similar to this ...
...snip... public static String getAuthIDRequest() { return("Something"); } ...snip...
I'm SO close - if I can just get this to work!
Thanks,
- Brent
