This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7055 - URI References for error codes
Summary: URI References for error codes
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 2.0 (show other bugs)
Version: Proposed Edited Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 12:53 UTC by David Carlisle
Modified: 2009-09-14 19:05 UTC (History)
1 user (show)

See Also:


Attachments

Description David Carlisle 2009-06-24 12:53:27 UTC
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't
have an id or name anchor of XPST0017

Although I'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:

<dt><a href=
"http://www.w3.org/TR/xpath20/#ERRXPST0017">err:XPST0017</a></dt>

<dt id="XPST0017"><a href=
"http://www.w3.org/TR/xpath20/#ERRXPST0017">err:XPST0017</a></dt>



David
Comment 1 Jim Melton 2009-08-27 22:15:05 UTC
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. 
Comment 2 David Carlisle 2009-08-28 09:12:32 UTC
has the updated file gone live yet?

I don'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
Comment 3 Jim Melton 2009-09-14 17:44:47 UTC
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!
Comment 4 David Carlisle 2009-09-14 19:05:21 UTC
thanks