27 lines
687 B
C++
27 lines
687 B
C++
#include "tinyxml.h"
|
|
|
|
// The goal of the seperate error file is to make the first
|
|
// step towards localization. tinyxml (currently) only supports
|
|
// latin-1, but at least the error messages could now be translated.
|
|
//
|
|
// It also cleans up the code a bit.
|
|
//
|
|
|
|
const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
|
|
{
|
|
"No error",
|
|
"Error",
|
|
"Failed to open file",
|
|
"Memory allocation failed.",
|
|
"Error parsing Element.",
|
|
"Failed to read Element name",
|
|
"Error reading Element value.",
|
|
"Error reading Attributes.",
|
|
"Error: empty tag.",
|
|
"Error reading end tag.",
|
|
"Error parsing Unknown.",
|
|
"Error parsing Comment.",
|
|
"Error parsing Declaration.",
|
|
"Error document empty."
|
|
};
|