>From my reading: it looks like the latest version of the spec has addressed the "updating operations in closures" issue. Can we expect a BaseX implementation soon :-)

/Andy



On Thu, Nov 22, 2012 at 2:40 PM, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Daniel,

> Doesn't it introduce performance problems though? If you do this copying with some bigger chunk of XML does it take the same amount of memory or is it somehow "delta" optimized?

Yes; this is due to the specification, btw. Whatever you copy in your
XQUF spec. is supposed to be cached before it is being evaluated.

Regarding updating operations in closures: the current version of the
spec. disallows updating operations, because it cannot be statically
determined if a dynamic function invocation is an updating expression
or not. See [1] for more details.

Best,
Christian

[1] http://www.w3.org/TR/xquery-update-30/#id-dynamic-function-invocation
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk