error in the latest developpers snapshot (BaseX944-20200919.114509)
Thursday, 24 September 2020 · 3 messages · last reply 26 Sep 2020
R
r.stapper24 Sep 2020 12:37 #
Hi Christian,
considder the snapshot down below and as bijlage. This genereate different results with the latest snapshot.
No problem with 943 and the previous snapshot( BaseX944-20200911.135109)
============================================
declare %private function local:value1
( $atomicItem as element( )
) as item()*
{
$atomicItem/data()
}
;
declare %private function local:value2
( $atomicItem as element( )
) as item()*
{
trace( $atomicItem/data(), "test: ")
}
;
let $e := <E>test</E>
return ( $e/data()
, $e => local:value1()
, $e => local:value2()
)
===========================================CG
Christian Grün25 Sep 2020 14:50 #
Confirmed and fixed ෴ Check out the updated snapshot
Quoted text · PM · 31 lines
On Thu, Sep 24, 2020 at 12:37 PM <r.stapper at lijbrandt.nl> wrote: > > Hi Christian, > > considder the snapshot down below and as bijlage. This genereate > different results with the latest snapshot. > No problem with 943 and the previous snapshot( BaseX944-20200911.135109) > > ============================================ > declare %private function local:value1 > ( $atomicItem as element( ) > ) as item()* > { > $atomicItem/data() > } > ; > declare %private function local:value2 > ( $atomicItem as element( ) > ) as item()* > { > trace( $atomicItem/data(), "test: ") > } > ; > > let $e := <E>test</E> > > return ( $e/data() > , $e => local:value1() > , $e => local:value2() > ) > ===========================================
R
r.stapper26 Sep 2020 11:14 #
Yep, seems to working fine again.
thanx, Rob
---
mvgr.
Rob Stapper
Quoted text · Christian Grün · 36 lines
Christian Grün schreef op 25.09.2020 14:50: > Confirmed and fixed ෴ Check out the updated snapshot > > > On Thu, Sep 24, 2020 at 12:37 PM <r.stapper at lijbrandt.nl> wrote: >> >> Hi Christian, >> >> considder the snapshot down below and as bijlage. This genereate >> different results with the latest snapshot. >> No problem with 943 and the previous snapshot( >> BaseX944-20200911.135109) >> >> ============================================ >> declare %private function local:value1 >> ( $atomicItem as element( ) >> ) as item()* >> { >> $atomicItem/data() >> } >> ; >> declare %private function local:value2 >> ( $atomicItem as element( ) >> ) as item()* >> { >> trace( $atomicItem/data(), "test: ") >> } >> ; >> >> let $e := <E>test</E> >> >> return ( $e/data() >> , $e => local:value1() >> , $e => local:value2() >> ) >> ===========================================
Written for BaseX 9.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery