DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8111>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8111

encoding of NaN is probably incorrect in SimpleSerialiser

           Summary: encoding of NaN is probably incorrect in
                    SimpleSerialiser
           Product: Axis
           Version: beta-1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The use of 

------------
double data ....

if( data == Double.NaN)
-----------

is probably wrong - the java docs state that Double.NaN != DoubleNaN, so a 
comparison such as that above will always return false. It should be

if( Double.isNaN( data))

This code appears in org.apache.axis.encoding.ser.SimpleSerialiser when 
encoding Floats and Doubles.

Reply via email to