+
+
+ std::string GetErrorMessage(XMLResults* res, const std::string& filename)
+ {
+ std::ostringstream str;
+ str << XMLNode::getError(res->error);
+ str << " [line " << res->nLine << ", col "<<res->nColumn<<"] ";
+ str << " file "<<filename;
+ return str.str();
+ }
+