Project

Profile

Help

Bug #4758

closed

Casting large xs:decimal values to xs:integer

Added by Michael Kay about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2020-09-27
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

From reading the code: Casting large xs:decimal values to xs:integer may lose precision, because the conversion is done via a Javascript number.

Actions #1

Updated by Michael Kay about 4 years ago

Created a new QT3 test case s=prod-CastExpr t=CastAs687 which demonstrates the problem.

Actions #2

Updated by Michael Kay about 4 years ago

  • Status changed from New to Resolved
  • Fix Committed on JS Branch 2.0 added

Now fixed.

Actions #3

Updated by Community Admin almost 4 years ago

  • Applies to JS Branch 2 added
  • Applies to JS Branch deleted (2.0)
Actions #4

Updated by Community Admin almost 4 years ago

  • Fix Committed on JS Branch 2 added
  • Fix Committed on JS Branch deleted (2.0)
Actions #5

Updated by Debbie Lockett over 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 2.1

Bug fix applied in the Saxon-JS 2.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page