axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Dick (JIRA)" <>
Subject [jira] Closed: (AXISCPP-653) xsd_unsignedLong not long enough to hold max SOAP value
Date Mon, 03 Apr 2006 09:03:59 GMT
     [ ]
Adrian Dick closed AXISCPP-653:

> 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