W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

Re: FW: Issue: bracket-overload

From: James Clark <jjc@jclark.com>
Date: Thu, 15 Jul 1999 04:18:43 +0700
Message-ID: <378CFEB3.AEC6ADBA@jclark.com>
To: Kay Michael <Michael.Kay@icl.com>
CC: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>
Thanks for your comment.

Kay Michael wrote:

> My vote would be to use [] for boolean predicates and "!" as a subscripting
> operator, so one could write "foo[position()=3]" or "foo!3"; "foo[1]" would
> then mean "foo[boolean(1)]" , while "foo!'3'" would mean the same as
> "foo!3".

I would be reluctant to lose [] for subscripting since it is
well-established for subscripting in other languages. Using ! for
subscripting doesn't fit very happily with its use in the "!=" operator.

Received on Wednesday, 14 July 1999 17:26:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:13 UTC