ferencd@0: /* ferencd@0: www.sourceforge.net/projects/tinyxml ferencd@0: Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) ferencd@0: ferencd@0: This software is provided 'as-is', without any express or implied ferencd@0: warranty. In no event will the authors be held liable for any ferencd@0: damages arising from the use of this software. ferencd@0: ferencd@0: Permission is granted to anyone to use this software for any ferencd@0: purpose, including commercial applications, and to alter it and ferencd@0: redistribute it freely, subject to the following restrictions: ferencd@0: ferencd@0: 1. The origin of this software must not be misrepresented; you must ferencd@0: not claim that you wrote the original software. If you use this ferencd@0: software in a product, an acknowledgment in the product documentation ferencd@0: would be appreciated but is not required. ferencd@0: ferencd@0: 2. Altered source versions must be plainly marked as such, and ferencd@0: must not be misrepresented as being the original software. ferencd@0: ferencd@0: 3. This notice may not be removed or altered from any source ferencd@0: distribution. ferencd@0: */ ferencd@0: ferencd@0: #include "tinyxml.h" ferencd@0: ferencd@0: // The goal of the seperate error file is to make the first ferencd@0: // step towards localization. tinyxml (currently) only supports ferencd@0: // english error messages, but the could now be translated. ferencd@0: // ferencd@0: // It also cleans up the code a bit. ferencd@0: // ferencd@0: ferencd@0: const char* TiXmlBase::errorString[ TiXmlBase::TIXML_ERROR_STRING_COUNT ] = ferencd@0: { ferencd@0: "No error", ferencd@0: "Error", ferencd@0: "Failed to open file", ferencd@0: "Error parsing Element.", ferencd@0: "Failed to read Element name", ferencd@0: "Error reading Element value.", ferencd@0: "Error reading Attributes.", ferencd@0: "Error: empty tag.", ferencd@0: "Error reading end tag.", ferencd@0: "Error parsing Unknown.", ferencd@0: "Error parsing Comment.", ferencd@0: "Error parsing Declaration.", ferencd@0: "Error document empty.", ferencd@0: "Error null (0) or unexpected EOF found in input stream.", ferencd@0: "Error parsing CDATA.", ferencd@0: "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", ferencd@0: };