nux-1.14.0
|
00001 /* 00002 * Copyright 2010 Inalogic® Inc. 00003 * 00004 * This program is free software: you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License, as 00006 * published by the Free Software Foundation; either version 2.1 or 3.0 00007 * of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, but 00010 * WITHOUT ANY WARRANTY; without even the implied warranties of 00011 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR 00012 * PURPOSE. See the applicable version of the GNU Lesser General Public 00013 * License for more details. 00014 * 00015 * You should have received a copy of both the GNU Lesser General Public 00016 * License along with this program. If not, see <http://www.gnu.org/licenses/> 00017 * 00018 * Authored by: Jay Taoko <jaytaoko@inalogic.com> 00019 * 00020 */ 00021 00022 00023 /* 00024 www.sourceforge.net/projects/tinyxml 00025 Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) 00026 00027 This software is provided 'as-is', without any express or implied 00028 warranty. In no event will the authors be held liable for any 00029 damages arising from the use of this software. 00030 00031 Permission is granted to anyone to use this software for any 00032 purpose, including commercial applications, and to alter it and 00033 redistribute it freely, subject to the following restrictions: 00034 00035 1. The origin of this software must not be misrepresented; you must 00036 not claim that you wrote the original software. If you use this 00037 software in a product, an acknowledgment in the product documentation 00038 would be appreciated but is not required. 00039 00040 2. Altered source versions must be plainly marked as such, and 00041 must not be misrepresented as being the original software. 00042 00043 3. This notice may not be removed or altered from any source 00044 distribution. 00045 */ 00046 00047 #include "tinyxml.h" 00048 00049 // The goal of the seperate error file is to make the first 00050 // step towards localization. tinyxml (currently) only supports 00051 // english error messages, but the could now be translated. 00052 // 00053 // It also cleans up the code a bit. 00054 // 00055 00056 const char *TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] = 00057 { 00058 "No error", 00059 "Error", 00060 "Failed to open file", 00061 "Memory allocation failed.", 00062 "Error parsing Element.", 00063 "Failed to read Element name", 00064 "Error reading Element value.", 00065 "Error reading Attributes.", 00066 "Error: empty tag.", 00067 "Error reading end tag.", 00068 "Error parsing Unknown.", 00069 "Error parsing Comment.", 00070 "Error parsing Declaration.", 00071 "Error document empty.", 00072 "Error null (0) or unexpected EOF found in input stream.", 00073 "Error parsing CDATA.", 00074 "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", 00075 };