[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|