You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Sangkyun Kim <br...@cubicthink.com> on 2002/08/07 10:50:02 UTC

Applying XSLTC to XSLs containing extension functions

Hi there,

Help me generate translets from XSL files containing extension function calls!!!

I tried to generate translates for an XSL file using XSLTC command line utilities only to fail.
Error messages from org.apache.xalan.xsltc.cmdline.Compile is as follows:

	C:\xalan\samples\extensions>java org.apache.xalan.xsltc.cmdline.Compile 3-java-namespace.xsl
	Compiler warning(s): 
	  file:/C:/xalan/samples/extensions/3-java-namespace.xsl: Unable to resolve call to function 'http://xml.apache.org/xslt/java:new'.
	  file:/C:/xalan/samples/extensions/3-java-namespace.xsl: Unable to resolve call to function 'http://xml.apache.org/xslt/java:getDate'.
	  file:/C:/xalan/samples/extensions/3-java-namespace.xsl: Unable to resolve call to function 'http://xml.apache.org/xslt/java:format'.
	Compiler error(s): 
	  null

The XSL file I used was one contained in a samples directory of Xalan-Java2 binary distribution (xalan-j_2_4_D1-bin.zip).
Required jar files were included into the classpath before executing the above session.

What should I do to correct the problem? Any helpful comment will be greatly appreciated.

Regards,

Brian Kim