W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: XSLT 1.1 draft: no enhancement of format-number

From: Kay Michael <Michael.Kay@icl.com>
Date: Wed, 10 Jan 2001 11:03:10 -0000
Message-ID: <9008AF5250E3D411AE57009027CA88E30FCE7C@WWMESSD048>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
>p.s. Coverage of format-number in Michael Kay's XSLT Programmer's Reference
seems >to imply that scientific notation is already supported in XSLT 1.0
(pg 82 first 
>pp, pg 458 second pp), however scientific notation is not mentioned in the
>1.1 DecimalFormat

This is a known error in the book.

Generally I concur with the remarks that format-number() is underspecified.
The essence of the problem is that it is underspecified in the JDK 1.1
documentation. But there are other issues, for example XSLT doesn't say how
errors should be handled, and it doesn't say whether an implementation that
mirrored JDK 1.3 would be conformant or not. Currently Saxon exhibits
different behaviour depending on which JVM is in use, which is hardly a
satisfactory state of affairs.

Mike Kay
Received on Wednesday, 10 January 2001 06:00:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC