Re: Scientific notation in numbers

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 UTC