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

Canonical representation of -0.0

From: by way of <arjohn.kampman@aduna.biz>
Date: Fri, 12 Sep 2003 06:21:17 -0600
Message-Id: <5.1.0.14.1.20030912062114.02d74fe0@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>




Dear XML Schema experts,

Reading through the definition of the datatype 'decimal' and working
on an algorithm that normalizes these, I came across an exotic case that
might not be correctly normalized when the specs are followed. This case
is the decimal -0.0. If I understand the specs correctly, the canonical
form of this decimal is again -0.0, but I would expect it to be 0.0. I
scanned through the errate but couldn't find anything that's related to
this. Can someone tell me if this is an error in the XML Schema
datatypes specs?

Regards,

Arjohn Kampman

-- 
arjohn.kampman@aduna.biz
Aduna B.V. (formerly known as aidministrator) - http://www.aduna.biz/
prinses julianaplein 14-b, 3817 cs amersfoort, the netherlands
tel. +31-(0)33-4659987  fax. +31-(0)33-4659987
Received on Friday, 12 September 2003 08:22:11 UTC

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