Hi Rob,

The second argument of your function call to 'local:proces' is a string, which will later be bound to '$p as map(*)'. The returned error include line/column information, which should help you to find the buggy position in the code:

Stopped at typeBug 2025-05-14.xq, 14/73:
[XPTY0004] Cannot convert xs:string to map(*): "test".

Cheers,
Christian


On Tue, May 13, 2025 at 5:33 PM Rob Stapper via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> wrote:
Hi Christian,
 
With version 11.9 I have a problem with my application. Consider the attached app. Runs in previous versions but not anymore in version 11.9.
Yours thoughts on this one?
mvgr.

Rob Stapper