Hi,
what is the value of the context item in a variable declaration of an
module in XQuery 1?
Since the spec says "The context item, position, and size in the dynamic
context of the initializing expression have initial values as described
in C.2 Dynamic Context Components." where it says "Default initial value
= none", it should be undefined.
But the new XQTS has a test
module namespace context="http://www.xqsharp.com/test/context";
declare variable $context:item := .;
where it is then tested for not undefined...
Benito
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk