Hi,

Using the new map syntax of BaseX 7.7.1, I ran into this:

let $m := { 'key':'val' }
return $m('key')

[XPST0003] Invalid key, simple expression expected.

As it turns out, a space is required after the closing quote of the key. That is, the above example works fine when replacing 'key':'val' by 'key'<SPACE>:'val'

This is not the case when using an integer key, i.e. this works fine:

let $m := { 1:'val' }
return $m(1)

I'm not sure if this behavior is intentional, but I would guess it is not :-)

Regards,
Daniël