Re: [xml] Getting crazy with float parsing



At 05:37 9/5/02, Bjorn Reese wrote:
Before making any decision on this issue, we should clarify the purpose
of XPath and XSL floating-point numbers. Is it to provide high-accuracy
calculations, or to present decimal-point number to users?

The XPath specification specifically mandates that the "number" datatype is an IEEE 754 floating-point number. Trio does not appear to be compliant with the IEEE 754 spec and therefore should not be used for handling XPath numbers. See XPath 1.0 §4.4.

~Chris
--
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA

Attachment: pgpSS6vft94Cx.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]