[Bug 20310] [XQ 3.0] Limits

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 UTC