7.8.2 Updating function items

Thursday, 17 April 2014 · 5 messages · last reply 6 May 2014
ML
Marco Lettere17 Apr 2014 19:44 #
Hello all, after switching to 7.8.2 we started to get this error: XUST001 Updating function items are not yet supported when passing an updating function as a value. This used to work neatly from 7.6 at least onwards. I must admit that I'm pretty surpirsed and I'd like to ask where ni the docs I could get more info on that. Thanks. Regards, Marco.
CG
Christian Grün22 Apr 2014 15:31 #
Hi Marco,
Quoted text · Marco Lettere · 6 lines
> XUST001 Updating function items are not yet supported > > when passing an updating function as a value. This used to work neatly from > 7.6 at least onwards. > I must admit that I'm pretty surpirsed and I'd like to ask where ni the docs > I could get more info on that.
the behavior in 7.6 was not clean, which is why it was removed in more recent versions. However, the latest XQUF draft (not public yet) now provides an "updating" keyword, which can be used to invoke updating functions UpdatingFunctionCall ::= "updating" PrimaryExpr "(" (ExprSingle ("," ExprSingle)*)? ")" Issue 939 will be closed as soon as we have implemented this in BaseX [1]. As an alternative, if you set MIXUPDATES=true in BaseX 8.0, you won't encounter any restrictions regarding the invocation of updating and non-updating functions. Christian [1] https://github.com/BaseXdb/basex/issues/939
CG
Christian Grün4 May 2014 21:57 #
Quoted text · Christian Grün · 27 lines
On Tue, Apr 22, 2014 at 3:31 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Marco, > >> XUST001 Updating function items are not yet supported >> >> when passing an updating function as a value. This used to work neatly from >> 7.6 at least onwards. >> I must admit that I'm pretty surpirsed and I'd like to ask where ni the docs >> I could get more info on that. > > the behavior in 7.6 was not clean, which is why it was removed in more > recent versions. However, the latest XQUF draft (not public yet) now > provides an "updating" keyword, which can be used to invoke updating > functions > > UpdatingFunctionCall ::= "updating" PrimaryExpr "(" (ExprSingle > ("," ExprSingle)*)? ")" > > Issue 939 will be closed as soon as we have implemented this in BaseX > [1]. As an alternative, if you set MIXUPDATES=true in BaseX 8.0, you > won't encounter any restrictions regarding the invocation of updating > and non-updating functions. > > Christian > > [1] https://github.com/BaseXdb/basex/issues/939
IL
Imsieke, Gerrit, le-tex4 May 2014 22:27 #
acclaim
Quoted text · Christian Grün · 8 lines
On 04.05.2014 21:57, Christian Grün wrote: > Et voilà... > > https://github.com/BaseXdb/basex/issues/939 > http://files.basex.org/releases/latest/ > > Your feedback is welcome, > Christian
ML
Marco Letterein reply to Christian Grün, 4 May 2014, 21:576 May 2014 20:09 #
Nice Christian. We'll try it asap. M.
Quoted text · Christian Grün · 37 lines
On 04/05/2014 21:57, Christian Grün wrote: > Et voilà... > > https://github.com/BaseXdb/basex/issues/939 > http://files.basex.org/releases/latest/ > > Your feedback is welcome, > Christian > > > > On Tue, Apr 22, 2014 at 3:31 PM, Christian Grün > <christian.gruen at gmail.com> wrote: >> Hi Marco, >> >>> XUST001 Updating function items are not yet supported >>> >>> when passing an updating function as a value. This used to work neatly from >>> 7.6 at least onwards. >>> I must admit that I'm pretty surpirsed and I'd like to ask where ni the docs >>> I could get more info on that. >> the behavior in 7.6 was not clean, which is why it was removed in more >> recent versions. However, the latest XQUF draft (not public yet) now >> provides an "updating" keyword, which can be used to invoke updating >> functions >> >> UpdatingFunctionCall ::= "updating" PrimaryExpr "(" (ExprSingle >> ("," ExprSingle)*)? ")" >> >> Issue 939 will be closed as soon as we have implemented this in BaseX >> [1]. As an alternative, if you set MIXUPDATES=true in BaseX 8.0, you >> won't encounter any restrictions regarding the invocation of updating >> and non-updating functions. >> >> Christian >> >> [1] https://github.com/BaseXdb/basex/issues/939

⚡Generated with XQuery