This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The namespace for errors described in this document https://www.w3.org/2005/xqt-errors/, says that the namespace is "https://www.w3.org/2005/xqt-errors/" However in this document https://www.w3.org/TR/xquery-30, it says that the namespace for errors is "http://www.w3.org/2005/xqt-errors". Note that one has a trailing '/' 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 '/'. 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/
XQuery and FNO appear to consistently use "http://www.w3.org/2005/xqt-errors". I don't think the namespace document is considered a normative reference.
(In reply to Josh Spiegel from comment #1) > XQuery and FNO appear to consistently use > "http://www.w3.org/2005/xqt-errors". I don't think the namespace document > is considered a normative reference. I don'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.
The namespace document should be fixed but I don't think there can be a normative reference to it. "Only W3C Recommendations should be referenced normatively. If a W3C document is not a "W3C Recommendation", do not reference it normatively." https://www.w3.org/2013/02/stdref
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: <!ENTITY doc.publoc "http://www.w3.org/2005/&doc.nsname;/"> 9: <!ENTITY nsname "http://www.w3.org/2005/&doc.nsname;/"> 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.
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&O
@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 "XQuery and XPath Functions and Operators Error Codes Namespace Document" document itself? I am still confused :-/
Hi Adam - we haven'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.