Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Version 2.3
-
None
-
None
Description
/xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java
contains two equality comparisons to NaN (Float.NaN and Double.NaN) at lines 90 and 142. Nothing (not even NaN) compares equal to NaN, so these will always fail. Should call isNaN