bug
Tuesday, 13 May 2014 · 3 messages · last reply 15 May 2014
RS
Rob Stapper13 May 2014 09:54 #
Sorry, not doing this on purpose.
Running test2.xq triggers runtime-error, see attachment: basex errorMessage.txt
When using:
declare function local:go ( $parentItem
)
{ ( $parentItem
, for-each( $parentItem/child::*
, function( $childItem
)
{ local:go( $childItem)
}
)
)
} ;
All runs fine.
Regards.
Rob Stapper
---
Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus-bescherming actief is. http://www.avast.com
CG
Christian Grün13 May 2014 23:17 #
Thanks; will be fixed soon.. https://github.com/BaseXdb/basex/issues/953
Quoted text · Rob Stapper · 59 lines
On Tue, May 13, 2014 at 9:54 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Sorry, not doing this on purpose. > > > > Running test2.xq triggers runtime-error, see attachment: basex > errorMessage.txt > > > > When using: > > > > declare function local:go > > ( $parentItem > > ) > > { ( $parentItem > > , for-each( $parentItem/child::* > > , function( $childItem > > ) > > { local:go( $childItem) > > } > > ) > > ) > > } ; > > > > All runs fine. > > > > Regards. > > > > Rob Stapper > > > > > ------------------------------ > <http://www.avast.com/> > > Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus<http://www.avast.com/>actief is. > >
CG
Fixed and deployed [1, 2].
Thanks,
Christian
[1] https://github.com/BaseXdb/basex/commit/4a84502fc0e558c3806cefd1dbb22a9fd838b58a [2] http://files.basex.org/releases/latest/
Quoted text · Rob Stapper · 59 lines
On Tue, May 13, 2014 at 9:54 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > > Sorry, not doing this on purpose. > > > > Running test2.xq triggers runtime-error, see attachment: basex errorMessage.txt > > > > When using: > > > > declare function local:go > > ( $parentItem > > ) > > { ( $parentItem > > , for-each( $parentItem/child::* > > , function( $childItem > > ) > > { local:go( $childItem) > > } > > ) > > ) > > } ; > > > > All runs fine. > > > > Regards. > > > > Rob Stapper > > > > > > ________________________________ > > Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus actief is. > >
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery