From 4b62b9ad33ee442c49eeee938ce1a4c8aacea52c Mon Sep 17 00:00:00 2001 From: PeiYong Zhang <peiyongz@apache.org> Date: Thu, 1 Apr 2004 21:55:43 +0000 Subject: [PATCH] fgDefErrMsg git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175844 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/util/XMLUni.cpp | 10 +++++++++- src/xercesc/util/XMLUni.hpp | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/xercesc/util/XMLUni.cpp b/src/xercesc/util/XMLUni.cpp index f97440941..df718ca93 100644 --- a/src/xercesc/util/XMLUni.cpp +++ b/src/xercesc/util/XMLUni.cpp @@ -1423,7 +1423,15 @@ const XMLCh XMLUni::fgXMLDOMMsgDomain[] = , chNull }; - +// default exception string +const XMLCh XMLUni::fgDefErrMsg[] = +{ + chLatin_C, chLatin_o, chLatin_u, chLatin_l, chLatin_d + , chSpace, chLatin_n, chLatin_o, chLatin_t, chSpace + , chLatin_l, chLatin_o, chLatin_a, chLatin_d, chSpace + , chLatin_m, chLatin_e, chLatin_s, chLatin_s, chLatin_a + , chLatin_g, chLatin_e, chNull +}; XERCES_CPP_NAMESPACE_END diff --git a/src/xercesc/util/XMLUni.hpp b/src/xercesc/util/XMLUni.hpp index 7a022fc85..93dc4fd64 100644 --- a/src/xercesc/util/XMLUni.hpp +++ b/src/xercesc/util/XMLUni.hpp @@ -296,6 +296,9 @@ public : // Locale static const char fgXercescDefaultLocale[]; + // Default Exception String + static const XMLCh fgDefErrMsg[]; + private: // ----------------------------------------------------------------------- // Unimplemented constructors and operators -- GitLab