Nothing Special   »   [go: up one dir, main page]

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 11538 - XQST0045 in "2.5.4.7 Function Test"
Summary: XQST0045 in "2.5.4.7 Function Test"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Linux
: 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: 2010-12-11 22:34 UTC by Jonathan Robie
Modified: 2011-02-05 22:33 UTC (History)
1 user (show)

See Also:


Attachments

Description Jonathan Robie 2010-12-11 22:34:29 UTC
<quote source="2.5.4.7 Function Test">
Implementations MAY define further annotation assertions, whose behaviour is implementation-defined. Implementations MAY provide a way for users to create their own annotation assertions. Implementations and users SHOULD avoid creating new annotation assertions in the following reserved namespaces [err:XQST0045]:

    * http://www.w3.org/XML/1998/namespace
    * http://www.w3.org/2001/XMLSchema
    * http://www.w3.org/2001/XMLSchema-instance
    * http://www.w3.org/2005/xpath-functions
</quote>

When is XQST0045 raised? 

If an implementation decides to ignore the SHOULD, it presumably does not raise the error, and the text should be rewritten to clarify this.

If a user decides to ignore the SHOULD, is it an error or not? Or is it implementation-defined or implementation-dependent?  This is currently fuzzy.
Comment 1 Jonathan Robie 2011-02-01 17:58:26 UTC
This is fixed in the current working draft.

However, I missed this:

<quote>
Implementations and users SHOULD avoid creating new annotations in the following reserved namespaces [err:XQST0045]:   http://www.w3.org/XML/1998/namespace   http://www.w3.org/2001/XMLSchema   http://www.w3.org/2001/XMLSchema-instance   http://www.w3.org/2005/xpath-functions   http://www.w3.org/2005/xpath-functions/math
</quote>

I will fix that one also.
Comment 2 Jim Melton 2011-02-05 22:33:29 UTC
The WG agreed with your fix, so I'm marking this bug CLOSED.