[ https://issues.apache.org/jira/browse/XMLBEANS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacob Danner updated XMLBEANS-361: ---------------------------------- Attachment: xmlbeans361_patch.txt Thanks Jim. I'm attaching a quick patch for other users. > invalid NaN comparisons > ----------------------- > > Key: XMLBEANS-361 > URL: https://issues.apache.org/jira/browse/XMLBEANS-361 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.3 > Reporter: Jim Apple > Priority: Minor > Attachments: xmlbeans361_patch.txt > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > /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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]