This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Leading +
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Leading +
- From: tcn at melvaig dot co dot uk (Trevor Nash)
- Date: Sat, 09 Jun 2001 17:59:27 GMT
- Organization: Melvaig Software Engineering Limited
- References: <200106091015.MAA13548@maxi.informatik.hu-berlin.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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