Subject: RE: Effective boolean value is not defined for a sequence of two or more items starting with a numeric value
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 15 Apr 2008 15:20:09 +0100
|
> It is intuitive though (to me at least), that a predicate
> containing [1, 3, 5] would select the first , third and fifth
> items in the sequence...
We did try quite hard to define an overloading of the [] operator to accept
a sequence of integers. It proved quite problematic because of corner cases
like [1,2,3,true()].
Michael Kay
http://www.saxonica.com/
|