[Bug 19089] New: [XQ30] 4.15 Annotations

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19089

           Summary: [XQ30] 4.15 Annotations
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
               URL: https://www.w3.org/XML/Group/qtspecs/specifications/xq
                    uery-30/html/xquery-30.html#id-annotations
        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
accordingly.

-- 
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