Subject: Re: [xsl] Floating point numbers in XPath From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx> Date: Tue, 9 Apr 2002 09:48:54 -0500 |
>From: burisch@xxxxxxxxxx >To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx >Reply-To: curtis@xxxxxxxxxx >Subject: Re: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Floating point numbers in, Michael Kay | Thread | Re: [xsl] Floating point numbers in, Richard Jinks |
Re: [xsl] tableheader sort on date , Chuck White | Date | [xsl] DOM Discussion group, stevenson |
Month |