10 Jul
2008
10 Jul
'08
7:39 a.m.
On Wed, Jul 9, 2008 at 11:40 AM, Lefteris
According to the spec, fn:put has return type empty-seq and it is *not* an update function: http://www.w3.org/TR/xquery-update-10/#id-func-put
The Update Facility describes an empty return value for all the updating expressions. As I wrote earlier, Pathfinder does this a bit different (more consistent, in my opinion) and introduces a special type for update operations (you may also read this as "operations with a side effect", since this is what really matters here). And, as I responded to Sjoerd, I don't see how one can conclude from the specs that fn:put() is not an updating expression. Jens -- Jens Teubner, jens.teubner@gmail.com