axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Rathnayake <writetoam...@yahoo.com>
Subject Few Changes done to xsd:any type Serializer and DeSerializer
Date Tue, 22 Jun 2004 10:23:37 GMT

       Clean  Clean  DocumentEmail                    MicrosoftInternetExplorer4 st1\:*{behavior:url(#default#ieooui)
} /* Style Definitions */  table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-parent:"";	mso-padding-alt:0in
5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;
font-size:10.0pt;	font-family:"Times New Roman";}
Hi,

 

I have done some changes to getAnyObject() and serializeTag() methods in SoapDeSerializer.cppand
serializeAnyObject method in SoapSerializer.cpp.Please find the attachments with the relevant
diff files. Please verify theseand apply the patches.

 

Changes:

 

In serializeAnyObject() method in SoapSerializer

     The method call of serialize()is accepting 2 parameters.

     serialize(pAnyObject->_array[i]);   changed to  serialize(pAnyObject->_array[i],
0);

 

In DeSerializer there were several places in getAnyObject()and serializeTag() it calls m_pParser->next();and
it expected to get the m_pchNameOrValue but theparser will ignore all the characters in this
tag. (thisis because it needs to ignore all the white_spaces andtabs) So it needs to pass
true to the next method in order to get the m_pchNameOrValue. Otherwise it returns null since
the defaultvalue for the argument in next() is false. So this haschanged to m_pParser->next(true).And
there are few other changes as well to fix a non terminating loopingproblem.

 

Thanks and Regards,

Amila Rathnayake.

 

 

 

 


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Mime
View raw message