Generated code incorrect
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. Generate the code
What is the expected output?
xmlNodePtr bodyNode;
for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) {
if(/*cur*/ bodyNode->type == XML_ELEMENT_NODE) { // <- Correct
if(xmlStrEqual(bodyNode->name, (const xmlChar *) "xxxxxx")) {
What do you see instead?
xmlNodePtr bodyNode;
for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) {
if(cur->type == XML_ELEMENT_NODE) { // <----- Wrong
if(xmlStrEqual(bodyNode->name, (const xmlChar *) "xxxxxx")) {
What version of the product are you using? On what operating system?
WSDL2ObjC-0.6
Please provide any additional information below.
Soap faults are not handled correctly. The code crashes.
Original issue reported on code.google.com by pe...@epona.nl
on 4 Jun 2013 at 3:25