<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19089</bug_id>
          
          <creation_ts>2012-09-27 08:32:43 +0000</creation_ts>
          <short_desc>[XQ30] 4.15 Annotations</short_desc>
          <delta_ts>2012-09-27 08:40:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15687</dup_id>
          
          <bug_file_loc>https://www.w3.org/XML/Group/qtspecs/specifications/xquery-30/html/xquery-30.html#id-annotations</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74629</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-09-27 08:32:43 +0000</bug_when>
    <thetext>The specification states

&quot;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.&quot;

and goes on to state

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

Firstly, it&apos;s not clear what &quot;creating&quot; an annotation means.  I suspect it means &quot;specify&quot;.

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74630</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-09-27 08:40:55 +0000</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>