W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Sat, 12 May 2007 00:20:31 +0000
To: public-qt-comments@w3.org
Message-Id: <E1HmfLb-0001iq-SA@wiggum.w3.org>


------- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:18 UTC