Re: [xsl] Leading +

Subject: Re: [xsl] Leading +
From: tcn@xxxxxxxxxxxxx (Trevor Nash)
Date: Sat, 09 Jun 2001 17:59:27 GMT
On Sat, 9 Jun 2001 12:15:36 +0200 (MET DST), Oliver Becker wrote:

>according to the XPath spec, number('+1') should return NaN, shouldn't 
>it?. But it seems, XT, Saxon, Xalan and OracleXSL don't agree with me.
>Who is right?

IMO you are, though I read Mike Kay's paraphrase of the spec rather
than the real thing.

Saxon 6.2.2 also produces 100 for number('1e2') which is again
"wrong", and I would not be surprised (or upset) if the others do too.

Trevor Nash

 XSL-List info and archive:

Current Thread