Ah, yes I see now. I never noticed this before. Looks good now I realise what is happening.
/Andy 

On Fri, 29 Apr 2022 at 19:11, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Andy,

It’s the BaseX standard serializer that truncates maps and arrays.
Some more examples:

[ string-join(1 to 1000) ],
map { 1: string-join(1 to 1000) }

You can get the full string by attaching a ?* lookup step to your query.

Maybe we can remove the truncation of values in function items; I’ll
have some more thoughts on that.

Thanks,
Christian