if (xmlStrcmp(node->name, (const xmlChar*)"TNCCS-ReasonStrings"))
{
- error_msg = "TNCCS-ReasonStrings tag in expected";
+ error_msg = "TNCCS-ReasonStrings tag expected";
goto fatal;
}
}
if (xmlStrcmp(child->name, (const xmlChar*)"ReasonString"))
{
- error_msg = "ReasonString tag in expected";
+ error_msg = "ReasonString tag expected";
goto fatal;
}
break;
fatal:
msg = tnccs_error_msg_create(error_type, error_msg);
errors->insert_last(errors, msg);
- _destroy(this);
+ destroy(this);
return NULL;
}