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: Leading +


On Sat, 9 Jun 2001 12:15:36 +0200 (MET DST), Oliver Becker wrote:

>Hi,
>
>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.

Regards,
Trevor Nash

 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]