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 27858 - Error code XQST0045
Summary: Error code XQST0045
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 17:31 UTC by Christian Gruen
Modified: 2015-07-09 21:51 UTC (History)
1 user (show)

See Also:


Attachments

Description Christian Gruen 2015-01-19 17:31:14 UTC
I propose to also raise XQST0045 if the name of a function annotation or the function name in a function declaration is in the array or map namespace (http://www.w3.org/2005/xpath-functions/array, http://www.w3.org/2005/xpath-functions/map).
Comment 1 Jonathan Robie 2015-01-27 17:19:19 UTC
Thanks - I'll fix that.
Comment 2 Michael Kay 2015-07-06 09:19:22 UTC
The error code XQST0045 is used three times (for functions, function annotations, and function assertions). In each case there is a list of prohibited namespaces. The array and map namespaces have been added to one of these lists but not to the other two.
Comment 3 Christian Gruen 2015-07-06 09:37:32 UTC
(In reply to Michael Kay from comment #2)
> The error code XQST0045 is used three times (for functions, function
> annotations, and function assertions). In each case there is a list of
> prohibited namespaces. The array and map namespaces have been added to one
> of these lists but not to the other two.

Thanks. One more question: What is the particular reason for only adding it once? For example, the math namespace (http://www.w3.org/2005/xpath-functions/math) is also listed in all three cases, and I believe its similar to the map and array namespace.
Comment 4 Michael Kay 2015-07-06 11:18:02 UTC
I don't think there is a good reason for making the three lists different. That's why I reopened the bug. Sorry if this wasn't clear.
Comment 5 Christian Gruen 2015-07-06 11:23:26 UTC
I got it! In this case, the definition of err:XQST0045 (F: Error Conditions) should probably be updated as well (or "reserved namespaces" could be listed once in the beginning of the spec).
Comment 6 Jonathan Robie 2015-07-09 21:51:04 UTC
Fixed.