<?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>29610</bug_id>
          
          <creation_ts>2016-05-05 14:51:56 +0000</creation_ts>
          <short_desc>Differing namespace definitions for xqt-errors</short_desc>
          <delta_ts>2016-09-08 19:21:57 +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>All</rep_platform>
          <op_sys>All</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Retter">adam</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>andrew_coleman</cc>
    
    <cc>josh.spiegel</cc>
    
    <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>126342</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Retter">adam</who>
    <bug_when>2016-05-05 14:51:56 +0000</bug_when>
    <thetext>The namespace for errors described in this document https://www.w3.org/2005/xqt-errors/, says that the namespace is &quot;https://www.w3.org/2005/xqt-errors/&quot;

However in this document https://www.w3.org/TR/xquery-30, it says that the namespace for errors is &quot;http://www.w3.org/2005/xqt-errors&quot;.

Note that one has a trailing &apos;/&apos; in the namespace whilst the other does not.
I also note that XPath 2.0, 3.0, and 3.1, and XQuery 1.0, and 3.1 are all consistent with XQuery 3.0 in not having a trailing &apos;/&apos;.

Which one is correct I wonder? I note that Saxon uses http://www.w3.org/2005/xqt-errors, however eXist is using http://www.w3.org/2005/xqt-errors/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126351</commentid>
    <comment_count>1</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2016-05-05 15:06:56 +0000</bug_when>
    <thetext>XQuery and FNO appear to consistently use &quot;http://www.w3.org/2005/xqt-errors&quot;.  I don&apos;t think the namespace document is considered a normative reference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126353</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Retter">adam</who>
    <bug_when>2016-05-05 16:45:33 +0000</bug_when>
    <thetext>(In reply to Josh Spiegel from comment #1)
&gt; XQuery and FNO appear to consistently use
&gt; &quot;http://www.w3.org/2005/xqt-errors&quot;.  I don&apos;t think the namespace document
&gt; is considered a normative reference.

I don&apos;t see either a formal normative or non-normative reference to that document in the XQuery 3.0 spec... perhaps there should be one, which would make whether it is normative or non-normative explicit.

IMHO the specs should at least be consistent in the naming of the namespace regardless though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126355</commentid>
    <comment_count>3</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2016-05-05 17:37:18 +0000</bug_when>
    <thetext>The namespace document should be fixed but I don&apos;t think there can be a normative reference to it.

&quot;Only W3C Recommendations should be referenced normatively. If a W3C document is not a &quot;W3C Recommendation&quot;, do not reference it normatively.&quot;
https://www.w3.org/2013/02/stdref</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126410</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-05-10 17:02:34 +0000</bug_when>
    <thetext>The place to fix this appears to be line 9 (plus possibly line 8) in qtspecs/specifications/xpath-functions-31/src/ns-errors.xml

8: &lt;!ENTITY doc.publoc &quot;http://www.w3.org/2005/&amp;doc.nsname;/&quot;&gt;
9: &lt;!ENTITY nsname     &quot;http://www.w3.org/2005/&amp;doc.nsname;/&quot;&gt;

Both should probably have the trailing slash removed; but since these are actual HTTP resources we will also need to get a redirect from the wrong URL to the correct one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126934</commentid>
    <comment_count>5</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2016-07-08 13:13:51 +0000</bug_when>
    <thetext>This was resolved with the following action item:

ACTION A-643-05:  Andy to investigate how to solve Q2.3.2 Bug 29610 - 
Differing namespace definitions for xqt-errors.

The fix was applied to ns-errors.xml in F&amp;O</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127106</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Retter">adam</who>
    <bug_when>2016-08-07 23:08:24 +0000</bug_when>
    <thetext>@andy This document - https://www.w3.org/2005/xqt-errors/ still states: `https://www.w3.org/2005/xqt-errors/`.

So is it now that we have two namespaces for the same thing, i.e. `https://www.w3.org/2005/xqt-errors` used from F+O and `https://www.w3.org/2005/xqt-errors/` used in the &quot;XQuery and XPath Functions and Operators Error Codes Namespace Document&quot; document itself?

I am still confused :-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127343</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2016-09-08 19:21:57 +0000</bug_when>
    <thetext>Hi Adam - we haven&apos;t published the latest drafts yet.  The fix to the namespace document can be viewed here:
https://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-31/html/ns-errors.html

When we next publish (PR) this will replace the document at https://www.w3.org/2005/xqt-errors/

Hope that makes sense.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>