Actions
Bug #2923
closedIncorrect comparison for xs:numeric and NaN
Start date:
2016-09-05
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
Comparer.NaNable()
is returning numeric ordering results (0|-1|+1) when comparing xs:numerics one or more of which is NaN. According to the spec the result of such comparisons should always be false, no matter what the comparison operator. Will need some trapping at a higher level in Expr.vc
or Expr.gc
Illustrated by (xs:double("NaN") lt 1)
Updated by John Lumley about 8 years ago
- Status changed from New to Resolved
Corrections applied in Expr.vc
and Compare.gc
on the Saxon-JS code branch.
Updated by Debbie Lockett about 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Found in version set to 0.9
- Fixed in version set to 0.9.1
Bug fix applied in the Saxon-JS 0.9.1 beta release.
Updated by Community Admin over 7 years ago
- Fixed in JS Release set to Saxon-JS 0.9.1
- Applies to JS Branch 0.9 added
- Fix Committed on JS Branch 0.9 added
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page