CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
tinyxmlerror.cc
Go to the documentation of this file.
1 /*
2 www.sourceforge.net/projects/tinyxml
3 Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
4 
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any
7 damages arising from the use of this software.
8 
9 Permission is granted to anyone to use this software for any
10 purpose, including commercial applications, and to alter it and
11 redistribute it freely, subject to the following restrictions:
12 
13 1. The origin of this software must not be misrepresented; you must
14 not claim that you wrote the original software. If you use this
15 software in a product, an acknowledgment in the product documentation
16 would be appreciated but is not required.
17 
18 2. Altered source versions must be plainly marked as such, and
19 must not be misrepresented as being the original software.
20 
21 3. This notice may not be removed or altered from any source
22 distribution.
23 */
24 /*
25  * THIS FILE WAS ALTERED BY Eric Vaandering, 25 August 2009.
26  */
27 #define TIXML_USE_STL
28 
30 
31 // The goal of the seperate error file is to make the first
32 // step towards localization. tinyxml (currently) only supports
33 // english error messages, but the could now be translated.
34 //
35 // It also cleans up the code a bit.
36 //
37 
38 const char* const TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
39 {
40  "No error",
41  "Error",
42  "Failed to open file",
43  "Memory allocation failed.",
44  "Error parsing Element.",
45  "Failed to read Element name",
46  "Error reading Element value.",
47  "Error reading Attributes.",
48  "Error: empty tag.",
49  "Error reading end tag.",
50  "Error parsing Unknown.",
51  "Error parsing Comment.",
52  "Error parsing Declaration.",
53  "Error document empty.",
54  "Error null (0) or unexpected EOF found in input stream.",
55  "Error parsing CDATA.",
56  "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.",
57 };
static const char *const errorString[TIXML_ERROR_STRING_COUNT]
Definition: tinyxml.h:375