Subject:Cannot find a matching 2-argument function named {org.apache.xalan.lib.sql.XConnection}query() Author:herme emb Date:17 Jan 2008 01:51 AM
Hi everyone,
I'm trying to setup in an xslt a lookup to a database, but i am getting this error message:
java.lang.RuntimeException: Error: at xsl:if on line 242 of file:///c:/START1.XSL:
Cannot find a matching 2-argument function named {org.apache.xalan.lib.sql.XConnection}query()
at com.exln.stylus.CSaxon8Driver.doProcessing(CSaxon8Driver.java:224)
at com.exln.stylus.CProcessorDriver.process(CProcessorDriver.java:98)
Subject:Cannot find a matching 2-argument function named {org.apache.xalan.lib.sql.XConnection}query() Author:(Deleted User) Date:17 Jan 2008 09:45 AM
Hi,
from the stack trace it looks you are using Saxon as processor, but the extension function is specific to Xalan. Try switching to the "Java builtin" processor, or, if you need a specific version of Xalan, define a Custom Processor as explained at http://www.stylusstudio.com/SSDN/default.asp?action=9&fid=48&read=7055