Re: [xsl] Xalan xslt 3.0 implementation updates

Subject: Re: [xsl] Xalan xslt 3.0 implementation updates
From: "Mukul Gandhi mukulg@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Nov 2025 12:17:40 -0000
Hi Martin,

On Tue, Nov 4, 2025 at 9:21b/PM Martin Honnen martin.honnen@xxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

One question about "Other than the above mentioned newly implemented
> XPath 3.1 functions, all the functions that
> are specified for XPath 1.0 are available with Xalanbs XPath 3.1
> implementation as well. ":
>
> Is there a dedicated XPath 3.1 evaluation API that allows the user to
> pass in any  XDM value (e.g. atomic values, sequences, maps, arrays) as
> parameters and return any XDM sequence?
>

As of now, Xalan doesn't have dedicated XPath 3.1 API, to use Xalan for
XPath 3.1 processing only. The focus has been on XSLT 3.0 implementation
development.

But Xalan may implement such an API.


>
> I am not sure how the basically XPath 1.0 oriented JAXP XPath API that
> allows returning single atomic values or node-sets/node lists would
> allow me to use the full power of XPath 3.1 (i.e. returns any sequence
> of e.g. atomic values, nodes, maps, arrays).
>

I think, it may be difficult to modify and introduce new methods within
JAXP XSL interfaces, to allow XPath 3.1 usage. Xalan may have a dedicated
XPath 3.1 API, with Xalan's own API signatures.


--
Regards,
Mukul Gandhi

Current Thread