It's not a bug.  The lexical structure is defined in the XPath
specification:

   http://www.w3.org/TR/xpath#NT-Number

Dave



                                                                                       
                                            
                      "Rick Bullotta"                                                  
                                            
                      <rick.bullotta@light         To:      <[EMAIL PROTECTED]> 
                                            
                      hammer.com>                  cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                   
                                                   Subject: Exponential formats and 
XSLT format-number function?                   
                      05/23/2002 01:24 PM                                              
                                            
                      Please respond to                                                
                                            
                      xalan-dev                                                        
                                            
                                                                                       
                                            
                                                                                       
                                            



The default output for something like Java's Double.toString() method may
format a value in exponential form, such as 1.57E-2.  However, it seems
that
the format-number function does not handle this type of input (although
Double.parseDouble would).

Is this a bug or a designed behavior?  Is there a W3C or ISO standard for
string representation of floating point values in XML?

Thanks for any wisdom.

Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)






Reply via email to