Re: [basex-talk] Found problems with map:for-each

2024-02-20 Thread Vincenzo Cestone
Hi Christian, thank you very much for your very quick response and for fixing the issue. Greetings Il giorno lun 19 feb 2024 alle ore 19:20 Christian Grün < christian.gr...@gmail.com> ha scritto: > Hi Vincenzo, > > Thanks for your observation and the easily reproducible test case; we’ve >

Re: [basex-talk] Found problems with map:for-each

2024-02-19 Thread Christian Grün
Hi Vincenzo, Thanks for your observation and the easily reproducible test case; we’ve uploaded a new stable snapshot with a bug fix. Please note that it’s generally risky to explicitly return empty sequences, as the optimizer will always try to get rid of code that may not contribute to the

[basex-talk] Found problems with map:for-each

2024-02-19 Thread Vincenzo Cestone
Hi all, with the basex 10.7 version (but even in 9.6 version I have the same issue) I found that the following code wont work as expected: (: It wont work :) let $files := map {"hello1.txt" : xs:base64Binary('SGVsbG8gd29ybGQ='), "hello2.txt" : xs:base64Binary('SGVsbG8gd29ybGQ=')} let $w :=