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