Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 90702 invoked from network); 10 Oct 2005 05:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 05:19:12 -0000 Received: (qmail 92593 invoked by uid 500); 10 Oct 2005 05:19:12 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 92573 invoked by uid 500); 10 Oct 2005 05:19:11 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 92560 invoked by uid 99); 10 Oct 2005 05:19:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2005 22:19:09 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 57C36C9 for ; Mon, 10 Oct 2005 07:18:48 +0200 (CEST) Message-ID: <1640558269.1128921528317.JavaMail.jira@ajax.apache.org> Date: Mon, 10 Oct 2005 07:18:48 +0200 (CEST) From: "nadir amra (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXISCPP-776) XSD_integer type is not serialized or deserialized properly on AIX platform In-Reply-To: <32179999.1123076614866.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-776?page=all ] nadir amra reassigned AXISCPP-776: ---------------------------------- Assign To: nadir amra > XSD_integer type is not serialized or deserialized properly on AIX platform > ---------------------------------------------------------------------------- > > Key: AXISCPP-776 > URL: http://issues.apache.org/jira/browse/AXISCPP-776 > Project: Axis-C++ > Type: Bug > Components: XSD Types > Versions: current (nightly) > Reporter: Manohar > Assignee: nadir amra > > when given maxInclusive and minInclusive values as inputs for XSD_integer type these values are not serialized properlly. When the input is given as > 9223372036854775807 the result is 4294967295 and when given the input as -9223372036854775808 the result is 0. > Following code shows the problem. > sprintf(endpoint, "%s", url); > XSD_integer* ws = new XSD_integer(endpoint); > xsd__integer result = ws->asNonNillableElement((xsd__integer)9223372036854775807); > cout << "non-nillable element=" << result << endl; > result = ws->asNonNillableElement((xsd__integer)-9223372036854775808); > cout << "non-nillable element=" << result << endl; > The same problem happens with XSD_long, XSD_nonPositiveInteger and XSD_nonNegativeInteger types as well. > XSD_integerClient.cpp testcase shows 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