You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ro...@apache.org on 2004/06/10 08:10:45 UTC

cvs commit: ws-axis/c/src/soap SoapDeSerializer.cpp

roshan      2004/06/09 23:10:45

  Modified:    c/src/soap SoapDeSerializer.cpp
  Log:
  Fixed the bug AXISCPP-95 at JIRA.
  Thanks for James (James_Guido@HomeDepot.com) for pointing out it.
  
  Revision  Changes    Path
  1.56      +8 -3      ws-axis/c/src/soap/SoapDeSerializer.cpp
  
  Index: SoapDeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapDeSerializer.cpp,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- SoapDeSerializer.cpp	7 Jun 2004 04:55:32 -0000	1.55
  +++ SoapDeSerializer.cpp	10 Jun 2004 06:10:45 -0000	1.56
  @@ -22,6 +22,11 @@
   
   /* SoapDeSerializer.cpp: implementation of the SoapDeSerializer class. */
   
  +/*
  + * Revision 1.1  2004/06/10 roshan
  + * Fixed the bug AXISCPP-95 at JIRA.
  + */
  +
   #include <axis/server/SoapDeSerializer.h>
   #include "SoapEnvelope.h"
   #include "SoapKeywordMapping.h"
  @@ -1316,9 +1321,9 @@
               if (m_pNode && (CHARACTER_ELEMENT == m_pNode->m_type))
               {
                   /* Some web services server returns 1 */
  -                ret = (0 == strcmp(m_pNode->m_pchNameOrValue, "true") || 
  -                    0 != strcmp(m_pNode->m_pchNameOrValue, "0" )) 
  -                    ? true_: false_;
  +                ret = (0 == strcmp(m_pNode->m_pchNameOrValue, "false") || 
  +                    0 == strcmp(m_pNode->m_pchNameOrValue, "0" )) 
  +                    ? false_: true_;
                   m_pNode = m_pParser->next(); /* skip end element node too */
                   m_pNode = NULL;
                   /* this is important in doc/lit style when deserializing