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 19089 - [XQ30] 4.15 Annotations
Summary: [XQ30] 4.15 Annotations
Status: RESOLVED DUPLICATE of bug 15687
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
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: https://www.w3.org/XML/Group/qtspecs/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 08:32 UTC by Tim Mills
Modified: 2012-09-27 08:40 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2012-09-27 08:32:43 UTC
The specification states

"Annotations are (QName, value) pairs. If the EQName of the annotation is a lexical QName, the prefix of the QName is resolved using the statically known namespaces; if no prefix is present, the name is in the http://www.w3.org/2012/xquery namespace."

and goes on to state

" it is an error for users to create annotations in the following reserved namespaces [err:XQST0045]: .... http://www.w3.org/2012/xquery"

Firstly, it's not clear what "creating" an annotation means.  I suspect it means "specify".

Secondly, %public and %private are annotations in this reserved namespace.  Presumably the specification should state that annotations defined in the http://www.w3.org/2012/xquery namespace may be specified when they are defined in the XQuery/XPath family of specifications.

The appendix entry for error code XQST0045 would have to be amended accordingly.
Comment 1 Tim Mills 2012-09-27 08:40:55 UTC
Sorry, this appears to be a duplicate of an earlier bug.  However, its resolution has yet to appear in the latest draft.

*** This bug has been marked as a duplicate of bug 15687 ***