[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Floating point numbers in XPath

Subject: Re: Floating point numbers in XPath
From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx>
Date: Tue, 9 Apr 2002 09:48:54 -0500
Re:  Floating point numbers in XPath
>From: burisch@xxxxxxxxxx
>To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Reply-To: curtis@xxxxxxxxxx
>Subject: Re:  Floating point numbers in XPath
>Date: Tue, 09 Apr 2002 15:17:00 +0100
>
>Jeni,
>
>Something caught my attention.
>
>You said:
>
>>[134] DoubleLiteral ::= (("." [0-9]+) |
>>        ([0-9]+ ("." [0-9]*)?))
>>        ([e] | [E]) ([+] | [-])? [0-9]+
>
>The first bit caught my attention: ("." [0-9]+)
>This appears to me to be incorrect. It would allow .0 as a valid
>DoubleLiteral, and runs counter to the other rules you mentioned. (+-0 -
>
>> "0"; 0.1 -> "0.1"; ".1" is invalid because there are <1 digits to the
>
>left of the decimal point.)
>
>Comments? It's possible I'm just having my usual lousy Tuesday...
>
>Regards,
>Curtis.



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.