This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In section 3.11.2.1 the sentence XPath 3.1 has no operators that can distinguish a map or array from another map or array with the same values. is repeated in two separate Notes. They should be amalgamated. In the version of the note in 3.11.1.1 there is a typo: In some existing implementations that support updates via proprietary extensions, if the MapValueExpr evaluates to a map or array, the associated value is a new ^ or array with the same values. At [^] insert "map".
In the same section 3.11.2.1 this is a very confused sentence. The members of a SquareArrayConstructor can be any value, separated by commas. An array has members, a SquareArrayConstructor does not. And the things in a SquareArrayConstructor are not values, they are expressions (ExprSingle).
(In reply to Michael Kay from comment #0) > In section 3.11.2.1 the sentence > > XPath 3.1 has no operators that can distinguish a map or array from another > map or array with the same values. > > is repeated in two separate Notes. They should be amalgamated. > > In the version of the note in 3.11.1.1 there is a typo: > > In some existing implementations that support updates via proprietary > extensions, if the MapValueExpr evaluates to a map or array, the associated > value is a new ^ or array with the same values. > > At [^] insert "map". Fixed.
(In reply to Michael Kay from comment #1) > In the same section 3.11.2.1 this is a very confused sentence. > > The members of a SquareArrayConstructor can be any value, separated by > commas. > > An array has members, a SquareArrayConstructor does not. And the things in a > SquareArrayConstructor are not values, they are expressions (ExprSingle). I changed this to: A SquareArrayConstructor consists of a comma-delimited set of argument expressions. It returns an array in which each member contains the value of the corresponding argument expression.