Subject: Re: Parsing strings as numbers
From: James Clark <jjc@xxxxxxxxxx>
Date: Thu, 07 Sep 2000 12:10:39 +0700
|
Andrew Kimball wrote:
>
> According to my reading of the XPath spec, '1e200' and '+2.0' are not valid
> numbers.
The spec seems fairly unambiguous on this to me.
> 1. Can it possibly be the intended behavior to disallow scientific notation
> and a leading plus sign?
Yes. XPath 1.0 is trying very hard to be small.
James
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|