// // handleError // bool DOM_Error_Handler::handleError (const xercesc::DOMError& domError) { static const char * severity [] = {"", "warning", "error", "fatal error"}; if (!this->has_errors_) this->has_errors_ = true; String error_msg (domError.getMessage (), false); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("%s at line %d and column %d\n"), error_msg.to_string ().c_str (), domError.getLocation ()->getLineNumber (), domError.getLocation ()->getColumnNumber ())); return true; }
bool CDoc::InternalErrorHandler::handleError(const xercesc::DOMError& domError) { m_sErrors += XC2TS(domError.getMessage()); m_sErrors += _T("\n"); return true; // continue }