axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-c-...@ws.apache.org
Subject [jira] Closed: (AXISCPP-95) Boolean Deserializer when it encounters "<tag>false</tag>" returns 1(true), instead of 0(false)
Date Fri, 08 Oct 2004 06:41:51 GMT
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


Mime
View raw message