W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2017

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

From: Michael Dyck <jmdyck@ibiblio.org>
Date: Tue, 18 Jul 2017 09:07:33 -0400
To: public-qt-comments@w3.org
Message-ID: <b2a41558-9f25-3461-4c4d-7701589bd4ac@ibiblio.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 18 July 2017 13:08:13 UTC