- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 01 Jul 2009 10:44:19 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7072
Summary: [F&O] Error codes for fn:collection
Product: XPath / XQuery / XSLT
Version: Proposed Edited Recommendation
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators
AssignedTo: mike@saxonica.com
ReportedBy: oliver@cbcl.co.uk
QAContact: public-qt-comments@w3.org
fn:doc uses two distinct error codes:
FODC0002 - Error retrieving resource
FODC0005 - Invalid argument
I interpret this to mean that if a URI is not understood then an FODC0005 error
is raised, and if the document could not be read or is invalid then an FODC0002
error is raised. For instance an implementation might understand an http://
URI, but retrieving the document gets a 404. I understand this to be an
FODC0002.
fn:collection limits the use of FODC0002 for the default collection not being
defined and FODC0004 for "invalid argument" (i.e. URI not understood).
However there is also the case of the argument being fine, but an error
occurring retrieving the collection(for example the use case of retrieving
documents in a directory). In this case the mapping from URI to collection is
defined so FODC0004 is inappropriate. I suggest that an FODC0002 should be
acceptable in this case too.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 1 July 2009 10:44:29 UTC