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 17:16:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29420-523-mwrWYIoR9l@http.www.w3.org/Bugs/Public/>

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
The test that does appear to be wrong here is fn-sum-10:

      <test>sum(xs:duration("P1Y1M1D"), xs:duration("PT0S"))</test>

This expects an error. But there should be no error - the specification says
that the second argument is ignored if the first argument is a non-empty

Since this test has been around for nearly 6 years, it might suggest that many
implementors are getting this wrong. However, given that the spec is completely
unambiguous and has not changed since XPath 2.0/XQuery 1.0, I don't think we
can consider changing the spec.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 5 February 2016 17:16:48 UTC

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