Re: [XPath31]Question about examples of "?" operator for maps and arrays

On 17-07-18 06:47 AM, Martin Honnen wrote:
>
> The XPath 3.1 spec for the "?" lookup distinguishes between
> https://www.w3.org/TR/xpath-31/#id-unary-lookup and
> https://www.w3.org/TR/xpath-31/#id-postfix-lookup. The section about the
> unary lookup in the examples section gives some example which for me seem to
> examples of an unary lookup, but also three examples
>
> - $m?*
> - [1, 2, 5, 7]?*
> - [[1, 2, 3], [4, 5, 6]]?*
>
> which, for me, seem to be examples of the postfix lookup, [...]

I agree. We could move those examples to the appropriate place, or modify 
them to use unary lookup. (Or have examples of ?* in both places.)

-Michael

Received on Tuesday, 18 July 2017 13:08:12 UTC