peiyongz    2004/07/21 08:07:13

  Modified:    c/src/xercesc/validators/DTD DTDGrammar.cpp
  Log:
  rewind previous change
  
  Revision  Changes    Path
  1.19      +6 -6      xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.cpp
  
  Index: DTDGrammar.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.cpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- DTDGrammar.cpp    21 Jul 2004 14:54:04 -0000      1.18
  +++ DTDGrammar.cpp    21 Jul 2004 15:07:13 -0000      1.19
  @@ -56,8 +56,8 @@
   
   /*
    * $Log$
  - * Revision 1.18  2004/07/21 14:54:04  peiyongz
  - * using the supplied memory manager
  + * Revision 1.19  2004/07/21 15:07:13  peiyongz
  + * rewind previous change
    *
    * Revision 1.17  2004/03/03 23:03:28  peiyongz
    * Using serialize() to save/load object created in ctor
  @@ -304,7 +304,7 @@
               // If we got here first, then register it and set the registered flag
               if (!sEntityPoolMutexRegistered)
               {
  -                fDefaultEntities = new (fMemoryManager) 
NameIdPool<DTDEntityDecl>(11, 12);
  +                fDefaultEntities = new NameIdPool<DTDEntityDecl>(11, 12);
   
                   //
                   // Add the default entity entries for the character refs that must
  @@ -316,11 +316,11 @@
                   // to be used in places whether other non-numeric general entities
                   // cannot.
                   //
  -                fDefaultEntities->put(new (fMemoryManager) 
DTDEntityDecl(XMLUni::fgAmp, chAmpersand, true, true));
  -                fDefaultEntities->put(new (fMemoryManager) 
DTDEntityDecl(XMLUni::fgLT, chOpenAngle, true, true));
  -                fDefaultEntities->put(new (fMemoryManager) 
DTDEntityDecl(XMLUni::fgGT, chCloseAngle, true, true));
  -                fDefaultEntities->put(new (fMemoryManager) 
DTDEntityDecl(XMLUni::fgQuot, chDoubleQuote, true, true));
  -                fDefaultEntities->put(new (fMemoryManager) 
DTDEntityDecl(XMLUni::fgApos, chSingleQuote, true, true));
  +                fDefaultEntities->put(new DTDEntityDecl(XMLUni::fgAmp, chAmpersand, 
true, true));
  +                fDefaultEntities->put(new DTDEntityDecl(XMLUni::fgLT, chOpenAngle, 
true, true));
  +                fDefaultEntities->put(new DTDEntityDecl(XMLUni::fgGT, chCloseAngle, 
true, true));
  +                fDefaultEntities->put(new DTDEntityDecl(XMLUni::fgQuot, 
chDoubleQuote, true, true));
  +                fDefaultEntities->put(new DTDEntityDecl(XMLUni::fgApos, 
chSingleQuote, true, true));
   
                   // register cleanup method
                   
entityPoolRegistryCleanup.registerCleanup(DTDGrammar::reinitDfltEntities);
  
  
  

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

Reply via email to