Hi Tim, Thanks for the pointer. It seems that the reported bug has been fixed just recently (at least I couldn’t reproduce it anymore). Could you try the latest snapshot? [1] Thanks in advance, Christian [1] https://files.basex.org/releases/latest/ On Mon, Nov 20, 2023 at 9:00 PM Thompson, Timothy <timothy.thompson@yale.edu> wrote:
Greetings,
I noticed that there seems to be an issue with fn:fold-right in BaseX (10.8 beta). When I pass it a sequence of elements, they do not get atomized/accumulated. Example:
let $data := <data>
<a>a</a>
<b>b</b>
<c>c</c>
</data>
return
<test>{
fold-right(
$data/*,
"",
concat(?, ".", ?)
)
}</test>
returns: <test/>
The same query in Saxon-HE 11.4 returns: <test>a.b.c.</test>
Best regards,
Tim
-- Tim A. Thompson (*he, him*) Librarian for Applied Metadata Research Yale University Library