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 ax...@ws.apache.org on 2004/10/08 08:41:51 UTC

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

Message:

   The following issue has been closed.

   Resolver: Samisa Abeysinghe
       Date: Thu, 7 Oct 2004 11:41 PM

Someone has fixed this.
It returns 0 for "false" and 1 for "true".
(in fact the logic used return 1 iff the bool tag contains "true" and returns 0 if bool tag does not contain "true")
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Serialization/Deserialization
   Fix Fors:
             1.3 Final
   Versions:
             unspecified

   Assignee: Samisa Abeysinghe
   Reporter: James Guido

    Created: Thu, 3 Jun 2004 6:37 AM
    Updated: Thu, 7 Oct 2004 11:41 PM
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