Fwd: Re: [Sab] document() function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

- 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"/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8StunlqQ+F+0wB3oRAuYyAJ9bBPnDzQN/EMuF/j6lC+X7AZkofACfZmpm
4VU+/QZvL7IZjK/1K9rImSY=
=/ohJ
-----END PGP SIGNATURE-----

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