KanikaVarma / sudzc

Automatically exported from code.google.com/p/sudzc
0 stars 0 forks source link

Empty text nodes #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate Objective-C code based upon this wsdl: 
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
2. Use the generated code to call a webservice, e.g. ListOfContinentsByName

What is the expected output? What do you see instead?
I expect a number of results back, but instead there is no result.

What version of the product are you using? On what operating system?
Generated code on 18 october 2010.

Please provide any additional information below.
The problem appeared to be the creation of empty text nodes when the webservice 
result was parsed into xml.
To solve this problem I had to add to following statement to ignore empty text 
nodes: "xmlKeepBlanksDefault(0)". I added this in the CXMLDocument initWithData 
function right before the "xmlParseMemory" function.

Original issue reported on code.google.com by redel...@gmail.com on 19 Oct 2010 at 1:09