You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org> on 2005/09/15 09:29:54 UTC

[jira] Commented: (AXISCPP-803) Axis C++ allows leading zeroes in XSD_unsignedLong type

    [ http://issues.apache.org/jira/browse/AXISCPP-803?page=comments#action_12329405 ] 

Chinthana Danapala commented on AXISCPP-803:
--------------------------------------------

This is seems to me also have serialization problem.
Anyway it allows leading zeroes and also gets the garbage value when serializing it.

This is request SOAP message for number 02345.

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:AsNonNillableElementRequest xmlns:ns1="http://xsd_unsignedLong.test.apache.org">
<nonNillableElement>1253</nonNillableElement>
</ns1:AsNonNillableElementRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


> Axis C++ allows leading zeroes in XSD_unsignedLong type
> -------------------------------------------------------
>
>          Key: AXISCPP-803
>          URL: http://issues.apache.org/jira/browse/AXISCPP-803
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization, XSD Types
>     Versions: current (nightly)
>     Reporter: Manohar
>     Assignee: Chinthana Danapala

>
> Axis C++ allows leading zeroes in XSD_unsignedLong type. As per the specification, leading zeroes are prohibited for unsignedLong type. When an input  with leading zeroes  (e.g. 0230) is given Axis C++ allows it and random values are given as output. 
> XSD_unsignedLongClient.cpp test can be used to reproduce this problem.
> Regards
> Manohar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira