tinyxmlerror.cpp
Go to the documentation of this file.
00001 /*
00002    www.sourceforge.net/projects/tinyxml
00003    Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
00004 
00005    This software is provided 'as-is', without any express or implied
00006    warranty. In no event will the authors be held liable for any
00007    damages arising from the use of this software.
00008 
00009    Permission is granted to anyone to use this software for any
00010    purpose, including commercial applications, and to alter it and
00011    redistribute it freely, subject to the following restrictions:
00012 
00013    1. The origin of this software must not be misrepresented; you must
00014    not claim that you wrote the original software. If you use this
00015    software in a product, an acknowledgment in the product documentation
00016    would be appreciated but is not required.
00017 
00018    2. Altered source versions must be plainly marked as such, and
00019    must not be misrepresented as being the original software.
00020 
00021    3. This notice may not be removed or altered from any source
00022    distribution.
00023    */
00024 
00025 #include "tinyxml.h"
00026 
00027 // The goal of the seperate error file is to make the first
00028 // step towards localization. tinyxml (currently) only supports
00029 // english error messages, but the could now be translated.
00030 //
00031 // It also cleans up the code a bit.
00032 //
00033 
00034 const char
00035 * TiXmlBase::errorString[TIXML_ERROR_STRING_COUNT] = {
00036     "No error",
00037     "Error",
00038     "Failed to open file",
00039     "Memory allocation failed.",
00040     "Error parsing Element.",
00041     "Failed to read Element name",
00042     "Error reading Element value.",
00043     "Error reading Attributes.",
00044     "Error: empty tag.",
00045     "Error reading end tag.",
00046     "Error parsing Unknown.",
00047     "Error parsing Comment.",
00048     "Error parsing Declaration.",
00049     "Error document empty.",
00050     "Error null (0) or unexpected EOF found in input stream.",
00051     "Error parsing CDATA.",
00052     "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", };


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29