W3C home > Mailing lists > Public > public-xsl-query@w3.org > May 2016

Atomization in Unary Lookup

From: Tim Mills <tim@cbcl.co.uk>
Date: Wed, 11 May 2016 09:59:46 +0100
To: public-xsl-query@w3.org
Message-ID: <d32ab991-23ec-e1f0-1ff5-6b3ef677d9f9@cbcl.co.uk>
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:00:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:43:17 UTC