W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2016

[Bug 29420] [QT3] K2-SeqSUMFunc-4 and xs:unsignedShort vs xs:integer result

From: <bugzilla@jessica.w3.org>
Date: Fri, 05 Feb 2016 15:23:41 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29420-523-ho7nQb6b7Y@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Whether we like it or not, the spec says that the result of sum($c) is

if (fn:count($c) eq 0) then
else if (fn:count($c) eq 1) then
    $c[1] + fn:sum(subsequence($c, 2))

and on that basis the test is correct.

(Frans's tests are usually right, or at least they were right at the time they
were written...)

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 5 February 2016 15:23:43 UTC

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