Can Saxon map the following extension function call the java static method with varargs below?
XSLT:
<xsl:value-of select="mylib:fun('a', 'b', 'c')"/>
Java
public static String fun(String arg1, String... args) { ... }
I would expect that saxon supports varargs but, I get
The namespace URI and local name are recognized, but the number of arguments is wrong
Am I doing something wrong?
It seems it's able to recognize a sequence ()
but I want to implement a function with zero or more arguments like those that are in the standard XPath function library.
Thank you