Re: [basex-talk] Lookup operator, conformance

2022-10-24 Thread Martin Honnen
Am 10/24/2022 um 1:29 PM schrieb Martin Honnen: Am 10/24/2022 um 12:45 PM schrieb Hans-Jürgen Rennau: Hello, I noticed that the lookup operator (?) accepts as key expression also non-parenthesized expressions, e.g.: $map?$key It seems to me that the XQuery spec does not allow that - the ke

Re: [basex-talk] Lookup operator, conformance

2022-10-24 Thread Martin Honnen
Am 10/24/2022 um 12:45 PM schrieb Hans-Jürgen Rennau: Hello, I noticed that the lookup operator (?) accepts as key expression also non-parenthesized expressions, e.g.: $map?$key It seems to me that the XQuery spec does not allow that - the key specifier must be an NCName, an integer, * or a p

[basex-talk] Lookup operator, conformance

2022-10-24 Thread Hans-Jürgen Rennau
Hello, I noticed that the lookup operator (?) accepts as key expression also non-parenthesized expressions, e.g.: $map?$key It seems to me that the XQuery spec does not allow that - the key specifier must be an NCName, an integer, * or a parenthesized expression [1]: [126] KeySpecifier ::= NCNam