axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/soap SoapDeSerializer.cpp
Date Mon, 28 Feb 2005 07:26:10 GMT
samisa      2005/02/27 23:26:10

  Modified:    c/src/soap SoapDeSerializer.cpp
  Log:
  More empty tag related fixes, to handle empty tags without xsi nil values.
  AXISCPP-418
  
  Revision  Changes    Path
  1.150     +8 -9      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.149
  retrieving revision 1.150
  diff -u -r1.149 -r1.150
  --- SoapDeSerializer.cpp	25 Feb 2005 02:18:48 -0000	1.149
  +++ SoapDeSerializer.cpp	28 Feb 2005 07:26:09 -0000	1.150
  @@ -3192,17 +3192,16 @@
   		 */
   		return ret;
   	    }
  -		else if (m_pNode && (END_ELEMENT == m_pNode->m_type))
  +		else if (m_pNode && (END_ELEMENT == m_pNode->m_type) && bNillFound
) //xsi:nil="true"
   		{
  -			if( bNillFound)
  -			{
  -			    m_pNode = m_pParser->next();
  -
  -//				m_pNode = NULL;
  -			}
  -
  -			return ret;
  +	            m_pNode = m_pParser->next();
  +	            return ret;
   		}
  +                else if (m_pNode && (END_ELEMENT == m_pNode->m_type) ) // empty
tag case <tag/>
  +                {
  +                    m_pNode = m_pParser->next();
  +                    return ret;
  +                }
   	    else
   	    {
   		/* Should be an empty string or simpleType with xsi:nil="true" */
  
  
  

Mime
View raw message