W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2007

[Bug 4542] [UPD] Section 2.6.1 fn:put: Remove it

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Jun 2007 19:45:12 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Hw1RQ-0003HD-Au@wiggum.w3.org>

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





------- Comment #5 from mike@saxonica.com  2007-06-06 19:45 -------
If it doesn't implement fn:doc() and fn:collection() then it's not an XQuery
implementation; but any implementation does have the option of stating that in
the dynamic context, the set of available documents and the set of available
collections will always be empty. Similarly, I would expect an implementation
to be required to implement fn:put(), but permitted to reject any particular
URI that you might supply as an unrecognized URI. 

This might sound academic, but it's much easier to write interoperable
applications when you know that the function will always be available, even
though you might have to include run-time logic to cope with variations as to
what URIs are accepted as arguments.
Received on Wednesday, 6 June 2007 19:45:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:33 UTC