Re: [basex-talk] Question about WITHDB option

2019-10-24 Thread Christian Grün
Functions from the Database Module will ALWAYS access database resources, no matter which value assign to WITHDB. On Thu, Oct 24, 2019 at 12:53 PM France Baril wrote: > Just to confirm would this work if I disable WITH DB? > >let $rtl-entry := > db:open('AppResources')/*[@id='config']/desce

Re: [basex-talk] Question about WITHDB option

2019-10-24 Thread France Baril
Just to confirm would this work if I disable WITH DB? let $rtl-entry := db:open('AppResources')/*[@id='config']/descendant::rtl-languages let $new-rtl-value := '...' return (: Not using db:open or db:replace but node was obtnained with db:open :) replace value of node $rtl-

Re: [basex-talk] Optimization issue?

2019-10-24 Thread Christian Grün
Dear Johannes, Thanks for the reproducible test case. The bug (a too eager merge of combined range expressions) was fixed and a new snapshot is available [1,2]. Cheers Christian [1] https://github.com/BaseXdb/basex/issues/1744 [2] http://files.basex.org/releases/latest/ On Thu, Oct 24, 2019

[basex-talk] Optimization issue?

2019-10-24 Thread Johannes Echterhoff
Hello, I'm experiencing some strange behavior when executing the following query in the BaseX 9.2.4 GUI (nevermind the awkward query structure - that is just to be able to inspect the results of the individual evaluation steps): let $t := 200. let $num := number($t) let $gt5000 := $num gt 50