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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29420

--- 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
sequence.

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