Good morning,
I came across some unexpected behaviour when using a function as a default
functionparameter:
declare function local:test
( $exec as function(*)? := fn( $a, $b) { $a => trace("test1: ") }
)
{ $exec( "a", "b")
} ;
local:test(())
I would expect a trace- and a execution result, but I got nothing. Are my
expectations wrong or could it be a bug?
PS code snipped added as test.xqm
PS The optimized query shows an empty value.
mvgr. Rob Stapper
test.xqm
Description: Binary data

