[BaseX 6.2.9 - BaseXWin] request after an 'updating' function declaration always returns root()

Tuesday, 12 October 2010 · 2 messages
FE
Fabrice Etanchaud12 Oct 2010 09:38 #
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.
CG
Christian Grün12 Oct 2010 13:10 #
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
Quoted text · Fabrice Etanchaud · 26 lines
On Tue, Oct 12, 2010 at 9:38 AM, Fabrice Etanchaud <fetanchaud at 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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >

⚡Generated with XQuery