RE: [xsl] Leading +

Subject: RE: [xsl] Leading +
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 11 Jun 2001 10:14:06 +0100
> >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.

Thanks for reminding me of these bugs. They've been reported before but
somehow dropped off the "todo" list.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread