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 ji...@apache.org on 2004/06/03 15:39:53 UTC

[jira] Updated: (AXISCPP-95) Boolean Deserializer when it encounters "false" returns 1(true), instead of 0(false)

The following issue has been updated:

    Updater: James Guido (mailto:james_guido@homedepot.com)
       Date: Thu, 3 Jun 2004 6:39 AM
    Comment:
Proposed bug fix (diff with version 1.54)
    Changes:
             Attachment changed to SoapDeSerializer.cpp.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-95?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-95

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-95
    Summary: Boolean Deserializer when it encounters "<tag>false</tag>" returns 1(true), instead of 0(false)
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             Serialization/Deserialization
   Versions:
             unspecified

   Assignee: 
   Reporter: James Guido

    Created: Thu, 3 Jun 2004 6:37 AM
    Updated: Thu, 3 Jun 2004 6:39 AM
Environment: HP-UX 11.0 with gcc (Axis C++ 1.1.1)

Description:
Bug in de-serializer logic for processing boolean in GetElementAsBoolean method in SoapDeSerializer class.

The current logic behaves as follow:

XML               Boolean(int) returned by GetElementAsBoolean()    
<tag>true</tag>    1
<tag>false</tag>   1  (BUG, it should return 0)
<tag>0</tag>       0
<tag>1</tag>       1
<tag>5</tag>       1


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira