<?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>27858</bug_id>
          
          <creation_ts>2015-01-19 17:31:14 +0000</creation_ts>
          <short_desc>Error code XQST0045</short_desc>
          <delta_ts>2015-07-09 21:51:04 +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.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Christian Gruen">christian.gruen</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>mike</cc>
          
          <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>117325</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-01-19 17:31:14 +0000</bug_when>
    <thetext>I propose to also raise XQST0045 if the name of a function annotation or the function name in a function declaration is in the array or map namespace (http://www.w3.org/2005/xpath-functions/array, http://www.w3.org/2005/xpath-functions/map).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117518</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-01-27 17:19:19 +0000</bug_when>
    <thetext>Thanks - I&apos;ll fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121791</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-07-06 09:19:22 +0000</bug_when>
    <thetext>The error code XQST0045 is used three times (for functions, function annotations, and function assertions). In each case there is a list of prohibited namespaces. The array and map namespaces have been added to one of these lists but not to the other two.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121799</commentid>
    <comment_count>3</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-07-06 09:37:32 +0000</bug_when>
    <thetext>(In reply to Michael Kay from comment #2)
&gt; The error code XQST0045 is used three times (for functions, function
&gt; annotations, and function assertions). In each case there is a list of
&gt; prohibited namespaces. The array and map namespaces have been added to one
&gt; of these lists but not to the other two.

Thanks. One more question: What is the particular reason for only adding it once? For example, the math namespace (http://www.w3.org/2005/xpath-functions/math) is also listed in all three cases, and I believe its similar to the map and array namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121802</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-07-06 11:18:02 +0000</bug_when>
    <thetext>I don&apos;t think there is a good reason for making the three lists different. That&apos;s why I reopened the bug. Sorry if this wasn&apos;t clear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121803</commentid>
    <comment_count>5</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-07-06 11:23:26 +0000</bug_when>
    <thetext>I got it! In this case, the definition of err:XQST0045 (F: Error Conditions) should probably be updated as well (or &quot;reserved namespaces&quot; could be listed once in the beginning of the spec).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121926</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-07-09 21:51:04 +0000</bug_when>
    <thetext>Fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>