W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2004

RE: [F&O] LQ-FO-002 - file exists

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Mon, 19 Apr 2004 05:20:22 -0700
Message-ID: <EDB607C8AC991F40BE646533A1A673E801DC005F@RED-MSG-42.redmond.corp.microsoft.com>
To: "Liam Quin" <liam@w3.org>, <public-qt-comments@w3.org>

Dear Liam:
Thank you for your comment.  The Joint WGs discussed this on 4/13/2004
and decided not to add the functionality requested.  See also Mike Kay's

I trust this is satisfactory.

All the best, Ashok

-----Original Message-----
From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Liam Quin
Sent: Thursday, March 04, 2004 10:07 AM
To: public-qt-comments@w3.org
Subject: [F&O] LQ-FO-002 - file exists

There's no easy way right now to check for the existance of a
local file except by trying to parse (and possibly validate) it
with document().

For example, consider using XML Query to generate an XHTML
Web page with embedded images.  One might not want to
include an image if the file isn't there, but there's no
way to test for a non-XML file in F&O today.

I suggest adding
    file-exists($fname as XS:string)

An alternative I shall propose in a separate comment is to
provide more access to an implementation's underlying
URI resolver library.


Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
Received on Monday, 19 April 2004 08:20:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:56 UTC