This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Parsing strings as numbers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]