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

[Bug 3770] [F+O] available-documents returning empty sequence

From: <bugzilla@wiggum.w3.org>
Date: Tue, 26 Sep 2006 20:02:55 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GSJ8p-0006Mw-JL@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3770

           Summary: [F+O] available-documents returning empty sequence
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


In section 15.5.4 (fn:doc), F+O states:

If the Available documents maps the string to an empty sequence, then the
function returns an empty sequence. 

However, XPath section 2.1.2 says that available documents is a mapping from
strings onto document nodes. It does not mention the possibility that it might
map a string to an empty sequence. 

We need to decide which is right.

I don't personally see that any useful purpose is served by allowing a string
to map to an empty sequence, and would delete this sentence from F+O.
Received on Tuesday, 26 September 2006 20:03:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:17 GMT