From: Dmitriy S. <sha...@gm...> - 2010-07-17 12:20:54
|
On Sat, 2010-07-17 at 13:31 +0200, James Fuller wrote: > I can appreciate that both functions ( e.g. local:test() and name() ) > when given no argument use default context but can't find in xquery > related specs what the rules are for default context for a function > with no arguments. The function don't have context. You right, it should throw error. (BTW, I like the way it work now) > should this throw an [XPDY0002] evaluation of an expression relies on > some part of the dynamic context that has not been assigned a value: > {context item}. -- Cheers, Dmitriy Shabanov |