W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: Scientific notation in numbers

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 10 Feb 2010 18:58:48 -0500
Message-ID: <4B734838.7020001@mit.edu>
To: Zack Weinberg <zweinberg@mozilla.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 2/10/10 6:09 PM, Zack Weinberg wrote:
> Additional observation: in both SVG 1.1 and SVG Tiny 1.2,
> scientific-notation numbers are defined as matching this regular
> expression
>
>    [+-]?(([0-9]*\.)?[0-9]+)[Ee][0-9]+
>
> (they don't use those words but that's what it comes out to).

That doesn't seem to match what I'm seeing.  In particular, 
http://www.w3.org/TR/SVG/types.html#DataTypeInteger explicitly says that 
<integer> has an optional sign, and 
http://www.w3.org/TR/SVG/types.html#DataTypeNumber says that the 'e' or 
'E' is followed by an <integer>....

-Boris
Received on Wednesday, 10 February 2010 23:59:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:24 GMT