W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2012

[Bug 19089] New: [XQ30] 4.15 Annotations

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Sep 2012 08:32:43 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19089-523@http.www.w3.org/Bugs/Public/>

           Summary: [XQ30] 4.15 Annotations
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
               URL: https://www.w3.org/XML/Group/qtspecs/specifications/xq
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org

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

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 September 2012 08:32:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC