W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2011

[Bug 13260] dateTime time-on-timeline incorrect for BCE years?

From: <bugzilla@jessica.w3.org>
Date: Thu, 14 Jul 2011 21:48:45 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1QhTm1-000721-GC@jessica.w3.org>

Alex Hall <alexhall@revelytix.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Alex Hall <alexhall@revelytix.com> 2011-07-14 21:48:44 UTC ---
The discrepancy is due to the fact that my implementation of the algorithm was
in Java, which uses a different implementation of integer division (negative
quotients are rounded up, not down) than what is specified by XSD. Changing my
implementation to correctly implement XSD div for negative quotients yields
correct results for BCE years.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 14 July 2011 21:48:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:11 UTC