[Bug 4526] [UPD] Sections 2.4.*: Target should allow empty sequence

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4526





------- Comment #3 from mrys@microsoft.com  2007-05-12 00:20 -------
First (/a/b)[1] + 42 is not a static error. The semantics is clear for the
empty sequence: "If the atomized operand is an empty sequence, the result of
the arithmetic expression is an empty sequence", and the static typing allows
the above expression.

I personally think that making the inserting into empty a no-op or dynamic
error is ok with me, but I want to not have this raised as a type error and
only raise type errors if more than one target node is being specified.

Received on Saturday, 12 May 2007 00:20:35 UTC