Thanks Michael,

 

That is precisely the problem, I’m using Saxon-HE 9.2.

 

 

Best Regards,

 

Reshma Raveendran

 

 

 

From: Michael Kay [mailto:mike@saxonica.com]
Sent: Wednesday, January 27, 2010 3:42 PM
To: 'Mailing list for the SAXON XSLT and XQuery processor'
Subject: Re: [saxon] Exception when calling extension functions

 

One explanation might be that you are running Saxon-HE 9.2, which no longer supports dynamically-loaded extension functions.

 

There are other reasons it could be failing. It would be useful to know more about how you are running Saxon, for example whether from the command line or from the .NET Saxon.Api interface. Setting the -TJ option on the command line can give useful diagnostics.

 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

 


From: Raveendran, Reshma [mailto:Reshma.Raveendran@morganstanley.com]
Sent: 27 January 2010 10:01
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Exception when calling extension functions

Hi,

 

When trying to run the xslt extension function samples from the Saxon resources kit I get the following error --

{"XPath syntax error at char 13 in {{ext:add(2,2)}}:\n    Cannot find a matching 2-argument function named {clitype:SampleExtensions.SampleExtensions?asm=SampleExtensions}add()"}

 {"XPath syntax error at char 27 in {{ext:average((1,2,3,4,5,6))}}:\n    Cannot find a matching 1-argument function named {clitype:SampleExtensions.SampleExtensions?asm=SampleExtensions}average()"} ….

 

This error is generated for all extension functions in the xslt. I’m probably missing something obvious, kindly advise.

 

Best Regards,

 

Reshma Raveendran

 


NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.


NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.