axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Dick (JIRA)" <>
Subject [jira] Resolved: (AXISCPP-653) xsd_unsignedLong not long enough to hold max SOAP value
Date Tue, 05 Jul 2005 15:18:10 GMT
     [ ]
Adrian Dick resolved AXISCPP-653:

    Resolution: Fixed

This has now been resolved, it was a problem with the testcase - on windows only.

> xsd_unsignedLong not long enough to hold max SOAP value
> -------------------------------------------------------
>          Key: AXISCPP-653
>          URL:
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Adrian Dick
>      Fix For: current (nightly)

> In AxisUserAPI.hpp...
> typedef unsigned long xsd__unsignedLong;
> typedef long long xsd__long;
> so a xsd__long is 8 bytes but a xsd__unsignedLong is only 4 bytes. According to the SOAP
spec xsd__unsignedLong should also be 8 bytes. So currently it cannot hold the maximum value
that is allowed for it in the SOAP spec.
> Discussing this with Adrian, it appears that unsigned long is the longest unsigned datatype
that is available on all platforms. So maybe xsd__unsignedLong should be converted to a class.
There is a similar problem with xsd__duration and some other xsd types.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message