W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Fwd: Re: [Sab] document() function

From: Philipp Gühring <p.guehring@futureware.at>
Date: Sun, 20 Jan 2002 10:01:26 -0500 (EST)
Message-Id: <200201201501.g0KF12x01642@linux1.futureware.at>
To: xsl-editors@w3.org
Hash: SHA1


- From a discussion about document() and not existant files:

> The W3C document reads:
> If there is an error retrieving the resource, then the XSLT processor
> may signal an error; if it does not signal an error, it must recover by
> returning an empty node-set.

Then I would plea for recovering. Please change it to recovering behaviour or
make it chooseable.

It would help a lot for application development.

Just imagine Word (or any other desktop application) would crash, if you
would try to open a not existing file.

Errors should be non-recoverable, recoverable problems should not be flagged
as errors, and be recoverd if not security relevant.

Please please please please please make it recoverable.

Or at least make it questionable:

<xsl:if test="document('file')">

Which would return false, if the file does not exist.

Many greetings,
- -- 
~ Philipp Gühring              p.guehring@futureware.at
~ http://www.livingxml.net/       ICQ UIN: 6588261
~ <xsl:value-of select="file:/home/philipp/.sig"/>
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

Received on Sunday, 20 January 2002 13:33:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC