This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Since the load-xquery-module() function is designed to load library modules, it requires the XQuery processor used to provide the optional Module Feature (5.2.4 of XQuery 3.1 Spec). This should be incorporated with the changes to this function relating to the availability of a suitable XQuery processor.
1. We have recently added the option value: xquery-version xs:decimal The minimum level of the XQuery language that the processor must support. Defaults to the version given in the prolog of the library module; or ·implementation-defined· if this is absent. and the error code If no suitable XQuery processor is available, a dynamic error is raised [err:FOQM0006]. I propose that we extend the definition of this error as follows: If no suitable XQuery processor is available, a dynamic error is raised [err:FOQM0006]. This includes the following cases: (a) No XQuery processor is available; (b) No XQuery processor supporting the requested version of XQuery is available; (c) No XQuery processor supporting the optional Module Feature is available.
The proposal was accepted.