peiyongz    2004/04/01 13:55:54

  Modified:    c/src/xercesc/util XMLException.cpp
  Log:
  using fgDefErrMsg
  
  Revision  Changes    Path
  1.13      +4 -21     xml-xerces/c/src/xercesc/util/XMLException.cpp
  
  Index: XMLException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLException.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XMLException.cpp  29 Jan 2004 11:48:47 -0000      1.12
  +++ XMLException.cpp  1 Apr 2004 21:55:54 -0000       1.13
  @@ -74,23 +74,6 @@
   XERCES_CPP_NAMESPACE_BEGIN
   
   // ---------------------------------------------------------------------------
  -//  Local data
  -//
  -//  gDefErrMsg
  -//      For now, if we cannot load an exception message, we load up the
  -//      default.
  -// ---------------------------------------------------------------------------
  -static const XMLCh  gDefErrMsg[] =
  -{
  -        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
  -};
  -
  -
  -// ---------------------------------------------------------------------------
   //  Local, static data
   // ---------------------------------------------------------------------------
   static XMLMsgLoader* sMsgLoader = 0;
  @@ -274,7 +257,7 @@
        {
                fMsg = XMLString::replicate
           (
  -            gDefErrMsg
  +        XMLUni::fgDefErrMsg
               , fMemoryManager
           );
                return;
  @@ -304,7 +287,7 @@
        {
                fMsg = XMLString::replicate
           (
  -            gDefErrMsg
  +        XMLUni::fgDefErrMsg
               , fMemoryManager
           );
                return;
  @@ -334,7 +317,7 @@
        {
                fMsg = XMLString::replicate
           (
  -            gDefErrMsg
  +        XMLUni::fgDefErrMsg
               , fMemoryManager
           );
                return;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to