axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <>
Subject [jira] [Closed] (AXISCPP-1079) Locale-sensitive functions result in incorrect data being generated
Date Mon, 16 May 2011 22:23:47 GMT


nadir amra closed AXISCPP-1079.

       Resolution: Fixed
    Fix Version/s: current (nightly)

Fixed in SVN

basically created a define PLATFORM_PROCESS_DECIMAL_POINT_C that is the process decimal point.

In float, decimal, and double XSD code it checks to see if period is decimal point...if it
is, normal processing.  If not, during serialization the decimal point for locale will be
changed to a period.  During deserialization, the decimal point in character string will be
changed to decimal point for locale.

This was only done for IBM i but the infrastructure is there to extend other platforms if
need be.

> Locale-sensitive functions result in incorrect data being generated
> -------------------------------------------------------------------
>                 Key: AXISCPP-1079
>                 URL:
>             Project: Axis-C++
>          Issue Type: Bug
>            Reporter: nadir amra
>             Fix For: current (nightly)
> On IBM i, strtod() is locale-sensitive.  So when user is running in process that has
a french locale, the deserialization of a number like 83.23 results in the '.23' not being
processed since the decimal character in french locale is the comma.
> I am not sure about other I will enable the support for IBM i.  However,
it should be easy to enable the code for other platforms.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message