W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2008

[Bug 5288] [XQuery] XPST0005 and conditional expressions

From: <bugzilla@wiggum.w3.org>
Date: Thu, 24 Jan 2008 03:37:27 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JHsu7-0005Dr-Li@wiggum.w3.org>


------- Comment #5 from mrys@microsoft.com  2008-01-24 03:37 -------
Actually, the problem I see Tim report is that none is inferred for error()
instead of an error type that could be preserved.

Note that in almost all cases, non-error() containing expressions that
statically yield empty-sequence() are because of a programmer's mistake and
this raising the error is good in all of these cases. While the biggest
use-case is path expressions, there are many other places as Mike notes.

Also note that changing this rule as an errata is not acceptable, since it
impacts existing implementations.
Received on Thursday, 24 January 2008 03:37:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:35 UTC