Project

Profile

Help

Bug #3133

closed

xs:numeric cast not preserving value type

Added by John Lumley almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-02-16
Due date:
% Done:

100%

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

Description

xs:numeric acts as a union of the numeric types, so casting, unless in error, should preserve the type of the argument. Currently they are returning @xs:double@.

Corrected in Atomic.numeric to return the item if matching xs:numeric type.

Actions #1

Updated by John Lumley almost 8 years ago

Change commited - rev 6242

Actions #2

Updated by Debbie Lockett over 7 years ago

  • Applies to branch deleted (9.8)
  • Applies to JS Branch 1.0 added
  • Fix Committed on JS Branch 1.0 added
Actions #3

Updated by Debbie Lockett over 7 years ago

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

Bug fix applied in Saxon-JS 1.0.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page