Project

Profile

Help

Bug #3332

closed

XdmITem.GetStringValue() missing from .NET

Added by Community Admin over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
-
Start date:
2017-07-03
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, 9.8
Fix Committed on Branch:
9.7, 9.8
Fixed in Maintenance Release:
Platforms:

Description

There is no equivalent s9api XdmITem.getStringValue() for the XdmItem under .NET

Actions #1

Updated by O'Neil Delpratt over 6 years ago

  • Applies to branch 9.7 added

Update:

The XdmAtomicValue constructor for decimal uses decimal.ToString to convert a value to a java BigDecimal object internally. For certain locales, the ToString method will give an invalid string format to what BigDecimal accepts.

For example, the German language locale settings uses commas instead of a decimal point:

0.5 -> 0,5

0.6 -> 0,6

Here we should be doing the following:

decimal.ToString(CultureInfo.InvariantCulture)
Actions #2

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fix applied on both 9.7 and 9.8 branches.

Actions #3

Updated by O'Neil Delpratt over 6 years ago

  • Fix Committed on Branch 9.7, 9.8 added
Actions #4

Updated by O'Neil Delpratt over 6 years ago

  • Fixed in Maintenance Release 9.8.0.4 added

Bug fix applied in the Saxon 9.8.0.4 maintenance release. Leaving bug marked as resolved until applied in the next 9.7 maintenance release

Actions #5

Updated by O'Neil Delpratt over 6 years ago

  • Fixed in Maintenance Release 9.8.0.5 added
  • Fixed in Maintenance Release deleted (9.8.0.4)

Bug fix applied in the Saxon 9.8.0.5 maintenance release. Leave open until the bug fix is applied in 9.7 branch.

Actions #6

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Resolved to Closed

Bug fix applied in the Saxon 9.8.0.5 maintenance release. Leave open until fix applied in the 9.7 release

Actions #7

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Closed to Resolved

Bug fix applied in the Saxon 9.8.0.5 maintenance release. Leave open until fix applied in the 9.7 release

Actions #8

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Resolved to Closed
  • Fixed in Maintenance Release 9.7.0.21 added

Bug fix applied in the Saxon 9.7.0.21 maintenance release.

Please register to edit this issue

Also available in: Atom PDF