From: Ashok Malhotra <ashokma@microsoft.com>

Date: Thu, 29 Nov 2001 15:46:02 -0800

Message-ID: <E5B814702B65CB4DA51644580E4853FB014885DC@red-msg-12.redmond.corp.microsoft.com>

To: <www-xml-schema-comments@w3.org>

Date: Thu, 29 Nov 2001 15:46:02 -0800

Message-ID: <E5B814702B65CB4DA51644580E4853FB014885DC@red-msg-12.redmond.corp.microsoft.com>

To: <www-xml-schema-comments@w3.org>

Here is an improved proposal courtesy Andrew Layman: The existing text for the lexical representation for float/double reads: Specifically, the exponent must be indicated by "E". Leading zeroes and the preceding optional "+" sign are prohibited in the exponent. For the mantissa, the preceding optional "+" sign is prohibited and the decimal point is required. For the exponent, the preceding optional "+" sign is prohibited. Leading and trailing zeroes are prohibited subject to the following: number representations must be normalized such that there is a single digit to the left of the decimal point and at least a single digit to the right of the decimal point. The problem is that the single digit to the left of the decimal point is allowed to be zero. This allows 1.0E1, 0.1E02 and 0.01E3 etc. as legal canonical representations for the same number. A proposed resolution to this potential errata is to amend the above text after the colon as follows: number representations must be normalized such that there is a single non-zero digit to the left of the decimal point and at least a single digit to the right of the decimal point. Positive zero is represented by '0.0E1' and negative zero by '-0.0E1'. All the best, Ashok =========================================================== Ashok Malhotra <mailto: ashokma@microsoft.com> Microsoft CorporationReceived on Thursday, 29 November 2001 18:47:09 UTC

*
This archive was generated by hypermail 2.3.1
: Wednesday, 7 January 2015 14:49:57 UTC
*