[BaseX 6.2.9 - BaseXWin] request after an 'updating' function declaration always returns root()
Dear all, in BaseXWin 6.2.9, the execution of any request will always return root() when following the declaration of an 'updating' function. declare updating function local:update1($mark as element()) { if (false()) then () else () }; (: any request not returning root() :) /blablabli ---> root() removing 'updating' from the function declaration will give the expected answer. best regards, and thank you for your fantastic DBMS.
Dear Fabrice, thanks for your feedback. Surprisingly, this seems to be a problem caused by the GUI; the query returns the correct results if it's performed on command-line: basex -i db query.xq We've put this on our bug list. Christian On Tue, Oct 12, 2010 at 9:38 AM, Fabrice Etanchaud <fetanchaud@edital.com> wrote:
Dear all, in BaseXWin 6.2.9, the execution of any request will always return root() when following the declaration of an 'updating' function.
declare updating function local:update1($mark as element()) { if (false()) then () else () }; (: any request not returning root() :) /blablabli
---> root()
removing 'updating' from the function declaration will give the expected answer.
best regards, and thank you for your fantastic DBMS. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Christian Grün -
Fabrice Etanchaud