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

[Bug 27908] K2-SeqDocFunc-12

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Jan 2015 15:01:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27908-523-R0XoUZ9WwW@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27908

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Personally, I think that when $X is empty, $X[ff()] should never raise a
dynamic error. I know that our "errors and optimization" rules allow
expressions to be rewritten in a way that raises errors that would not be
raised by a "rigorous" evaluation, but I think that if we take a literal
interpretation of those rules, then any test case can raise any error it likes.
So I'm against making this change.

When eager (compile-time) evaluation of expressions fails, the correct strategy
is to replace the expression with something like error(...) that delays the
reporting of the error until execution time, so the failure only occurs if the
expression is actually evaluated.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 January 2015 15:01:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 27 January 2015 15:01:53 UTC