<?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>7055</bug_id>
          
          <creation_ts>2009-06-24 12:53:27 +0000</creation_ts>
          <short_desc>URI References for error codes</short_desc>
          <delta_ts>2009-09-14 19:05:21 +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>XPath 2.0</component>
          <version>Proposed Edited Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</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="David Carlisle">davidc</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>jim.melton</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>25681</commentid>
    <comment_count>0</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2009-06-24 12:53:27 +0000</bug_when>
    <thetext>the xpath and xquery documents (REC and also the PER 2nd edition documents)
have the text

An error can be represented by a URI reference that is derived from the error QName as follows: an error with namespace URI NS and local part LP can be represented as the URI reference NS#LP. For example, an error whose QName is err:XPST0017 could be represented as http://www.w3.org/2005/xqt-errors#XPST0017.


However that example URI reference (and all similar ones) is a bad link as
the document returned by the URI http://www.w3.org/2005/xqt-errors doesn&apos;t
have an id or name anchor of XPST0017

Although I&apos;ve raised this as an issue on the specs it can easily be fixed
by editing http://www.w3.org/2005/xqt-errors which is less of a problem as it is not in TR space so can can be edited in place.

Basically just want to add an id to every dt as in:

&lt;dt&gt;&lt;a href=
&quot;http://www.w3.org/TR/xpath20/#ERRXPST0017&quot;&gt;err:XPST0017&lt;/a&gt;&lt;/dt&gt;

&lt;dt id=&quot;XPST0017&quot;&gt;&lt;a href=
&quot;http://www.w3.org/TR/xpath20/#ERRXPST0017&quot;&gt;err:XPST0017&lt;/a&gt;&lt;/dt&gt;



David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26725</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2009-08-27 22:15:05 +0000</bug_when>
    <thetext>David, thanks for your suggestion.  We have changed the namespace document for the err: namespace (http://www.w3.org/2005/xqt-errors) exactly as you suggested. 

I have marked this bug RESOLVED/FIXED.  Because we adopted the suggestion you offered, I hope you will mark it CLOSED. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26735</commentid>
    <comment_count>2</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2009-08-28 09:12:32 +0000</bug_when>
    <thetext>has the updated file gone live yet?

I don&apos;t see it yet (from the UK) and the link in the original comment still 
fails to match any id in the document.

I do see the updated file in member space at
http://www.w3.org/XML/Group/xsl-query-specs/xquery-operators/ns-errors-original.html

but not at

http://www.w3.org/2005/xqt-errors

David
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27149</commentid>
    <comment_count>3</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2009-09-14 17:44:47 +0000</bug_when>
    <thetext>David, please accept our apologies for the delay in publishing the revised namespace document at the URI of the target namespace.  Please check again, as I believe that omission has been rectified.  If you agree, then please mark this bug CLOSED.  Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27154</commentid>
    <comment_count>4</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2009-09-14 19:05:21 +0000</bug_when>
    <thetext>thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>