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 na...@apache.org on 2006/08/12 04:14:22 UTC

svn commit: r430945 - /webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp

Author: nadiramra
Date: Fri Aug 11 19:14:21 2006
New Revision: 430945

URL: http://svn.apache.org/viewvc?rev=430945&view=rev
Log:
AXISCPP-978 deserializing of arrays of complex types with optional elements broken

Modified:
    webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp

Modified: webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp?rev=430945&r1=430944&r2=430945&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp Fri Aug 11 19:14:21 2006
@@ -863,6 +863,7 @@
                 if (AXIS_SUCCESS == m_nStatus)
                 {
                     m_pParser->next ();    /* skip end node too */
+                    m_pNode = NULL;    /* AXISCPP-978 node identified and used */
                     return pObject;
                 }
                 else
@@ -1014,6 +1015,7 @@
             if (AXIS_SUCCESS == m_nStatus)
             {
                 m_pParser->next ();    /* skip end node too */
+                m_pNode = NULL;    /* AXISCPP-978 node identified and used */
                 return pObject;
             }
             else
@@ -1648,6 +1650,7 @@
                         if (bReturn)
                         {
                             m_pNode = m_pParser->next ();   /* skip end element node too */
+                            m_pNode = NULL;    /* AXISCPP-978 node identified and used */
                             return;
                         }
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org