W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2015

[Bug 28632] map:merge and timezones

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Jun 2015 15:00:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28632-523-aXeLqQtHIq@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28632

--- Comment #6 from Josh Spiegel <josh.spiegel@oracle.com> ---
Yes, that is what I was getting at but I have doubts about the suggested fix. 
Consider this:

  map:merge((
    map:entry(xs:decimal("1.00000000000000000000000000000000001"), "a"),
    map:entry(xs:decimal("1.00000000000000000000000000000000002"), "b"),
    map:entry(xs:double("1.0"), "c")
  ))

There are two distinct keys in the input but I don't see how the resulting map
could have more than one entry.  "There is one entry in the returned map for
each distinct key present in the union of the input maps ..."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 2 June 2015 15:00:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 2 June 2015 15:00:16 UTC