Philippe,
Thanks for the work around. I just found another one as well. I tracked down the issue to the operator+=() of the string:
string XMLInterface::GetXMLString() {
concatenated_xml = "";
for(size_t i=0; i<the_xml.size(); i++){
concatenated_xml += the_xml[i];
//concatenated_xml.append(the_xml[i]);
}
return concatenated_xml;
}
Commenting out the += line and replacing it with the append method allows it to execute without issue.