Re: Atomization in Unary Lookup

The example should have read

[1, 2, 3] ! ?([1,2])

or

[1,2, 3][?([1,2])]

On 11/05/2016 09:59, Tim Mills wrote:
> Could I please just check that for
>
> ? ParenthesizedExpr
>
> It is intentional that atomization happens as
>
> for $k in KS
> return .(fn:data($k))
>
> and not
>
> for $k in fn:data(KS)
> return .($k)
>
> In the former case
>
> [1, 2, 3]?[1,2]
>
> is an error, while in the latter case it would return (1, 2).
>
> Thanks,
>     Tim
>

Received on Wednesday, 11 May 2016 09:15:27 UTC