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 3770 - [F+O] available-documents returning empty sequence
Summary: [F+O] available-documents returning empty sequence
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 20:02 UTC by Michael Kay
Modified: 2007-02-25 23:35 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-09-26 20:02:55 UTC
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.
Comment 1 Ashok Malhotra 2006-10-16 17:39:47 UTC
The WGs decided to delete the offending sentence.
Comment 2 Jim Melton 2007-02-25 23:35:11 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.