W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2012

[Bug 20310] [XQ 3.0] Limits

From: <bugzilla@jessica.w3.org>
Date: Mon, 17 Dec 2012 16:56:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20310-523-lh3j6Focnx@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20310

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
(In reply to comment #1)
> XQuery 3.0, in section 2.3.1, Kinds of Errors, says:
> 
> "In addition to the errors defined in this specification, an implementation
> may raise a dynamic error for a reason beyond the scope of this
> specification....

I think I would ask for two things.

(1) a statement that the implementation-dependent behaviour when a limit is
exceeded must be an error of some kind; it is not acceptable, for example, for
count(1 to 1e100) to return 42.

(2) an error code which is available for use to indicate that a limit has been
exceeded. We should not require use of this error code (implementations might,
for example fail with conditions such as "heap full") but we should encourage
its use where possible, and we should use this code as a potential result of
test cases that stray beyond the minimal limits.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 17 December 2012 16:57:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 16:57:05 GMT