Project

Profile

Help

Bug #3332

XdmITem.GetStringValue() missing from .NET

Added by Community Admin about 2 years ago. Updated almost 2 years ago.

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

100%

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

Description

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

History

#1 Updated by O'Neil Delpratt about 2 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)

#2 Updated by O'Neil Delpratt about 2 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.

#3 Updated by O'Neil Delpratt about 2 years ago

  • Fix Committed on Branch 9.7, 9.8 added

#4 Updated by O'Neil Delpratt about 2 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

#5 Updated by O'Neil Delpratt almost 2 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.

#6 Updated by O'Neil Delpratt almost 2 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

#7 Updated by O'Neil Delpratt almost 2 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

#8 Updated by O'Neil Delpratt almost 2 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