This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28752 - [FO31] load-xquery-module requires implementation providing Module Feature
Summary: [FO31] load-xquery-module requires implementation providing Module Feature
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 10:48 UTC by Debbie Lockett
Modified: 2016-12-16 19:55 UTC (History)
0 users

See Also:


Attachments

Description Debbie Lockett 2015-06-04 10:48:49 UTC
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.
Comment 1 Michael Kay 2015-06-13 17:39:03 UTC
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.
Comment 2 Michael Kay 2015-06-16 15:27:17 UTC
The proposal was accepted.