Firstly, the error message is misleading. When Saxon fails to find an extension function it tries hard to distinguish the most likely cause, but sometimes it gets it wrong. The best way of getting useful diagnostics to identify the cause is to run this with the -TJ option on the command line.

I think the most likely explanation is that you've actually picked up Saxon-HE from the classpath rather than Saxon-PE. Running with the -t option should confirm this one way or the other.

I can confirm that exslt:node-set() is still supported in 9.3 - it's completely unnecessary, and the implementation is a no-op, but it is still there.


Michael Kay

On 21/06/2011 03:08, Toshihiko Makita wrote:
Dear Michael,

Originally DITA Open Toolkit ( uses
Saxon for its distribution. I changed the XSLT processor to
Saxon PE for my stylesheet debugging. However 9.3 reports the
following compile error for DITA-OT XSLT 1.0 stylesheets.

[xslt] Loading stylesheet D:\DITA-OT1.5.1-FB\xsl\preprocess\conref.xsl
[xslt] D:\DITA-OT1.5.1-FB\xsl\preprocess\conrefImpl.xsl:953: Fatal
Error! Cannot find a matching 1-argument function named
{}node-set(). The namespace URI and local name
are recognized, but the number of arguments is wrong
[xslt] Failed to process null

The XSL source is attached as This stylesheet works fine
in Saxon

Do you have any solutions?


------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking.
_______________________________________________ saxon-help mailing list archived at