W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2011

[Bug 14185] New: fn:collection/fn:doc FODC0002

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 Sep 2011 15:40:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-14185-523@http.www.w3.org/Bugs/Public/>

           Summary: fn:collection/fn:doc FODC0002
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org

There is (inconsistent overloading of error codes in fn:doc and fn:collection.


FODC0002 - dereferencing/parsing fails
        OR available documents provides no mapping for the absolutized URI.
FODC0005 - invalid URI

Here FODC0002 is overloaded with two possible meanings.

FODC0002 - dereferencing/parsing failso
FODC0004 - invalid URI
        OR available collections provides no mapping for the absolutized URI.

Here FODC004 is overloaded.  It seams inconsistent that FODC0004 is overloaded
here, rather than FODC0002.  The brief description of FODC0002 as "Error
retrieving resource." seems to indicate that FODC0002 should be the code when
available collections provides no mapping fo the absolutized URI.

Vaguely related bug reports are Bug 3726 and Bug 7072.  The proposed text in

" The collection URI is dereferenced to yield a resource that provides a set of
document URIs. If this dereferencing operation fails, an error is raised

seems to suggest that FODC0002 should indeed be used when no mapping is

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 Friday, 16 September 2011 15:40:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:46 UTC