On 10/02/2026 10:33, Mukul Gandhi mukulg@xxxxxxxxxxxxxxxxx wrote:
> Hi Martin,
>
> On Tue, Feb 10, 2026 at 2:28b/PM Martin Honnen martin.honnen@xxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Mukul, do you know about (for Saxon 10 EE) -lib:filenames command
> line
> option? See
>
https://www.saxonica.com/html/documentation10/using-xsl/commandline/index.htm
l
>
> -lib:filenames
>
> A list of filenames containing library packages. The filenames are
> separated by ";" on Windows systems, or ":" on Linux and Mac. Each
> filename must identify either (a) a top-level module in a source XSLT
> package, or (b) a SEF file containing an exported library package.
> There
> is no constraint on the order of the packages.
>
>
> Thus if you run Saxon 10 EE from the command line then with e.g.
>
> -xsl:test1.xsl -s:test1.xml -lib:test2.xsl
>
>
> Thanks for these details. I'm now running XSLT 3.0 transform with
> Saxon 10 EE using -lib: option, but I get following error,
>
> Error in xsl:expose/@names on line 10 column 72 of test2.xsl:
> B XTSE3020 B When the name identifies a function, the arity must be
> given (XSLT 3.0 erratum E36)
> Error
> B B Errors found in package http://package2
> Errors found in package http://package2
>
> How we may resolve these XSLT 3.0 transformation issues?
I would try to change
B <xsl:expose component="function" names="fn0:abc" visibility="public"/>
to
B <xsl:expose component="function" names="fn0:abc#1" visibility="public"/>
|