peiyongz    2003/11/12 12:32:47

  Modified:    c/src/xercesc/validators/DTD DTDGrammar.cpp
  Log:
  Do not serialize/deserialize fElemNonDeclPool
  
  Revision  Changes    Path
  1.13      +4 -4      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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DTDGrammar.cpp    6 Nov 2003 15:03:45 -0000       1.12
  +++ DTDGrammar.cpp    12 Nov 2003 20:32:47 -0000      1.13
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.13  2003/11/12 20:32:47  peiyongz
  + * Do not serialize/deserialize fElemNonDeclPool
  + *
    * Revision 1.12  2003/11/06 15:03:45  peiyongz
    * initialize data member
    *
  @@ -326,12 +329,10 @@
           /***
            *
            * Serialize NameIdPool<DTDElementDecl>*       fElemDeclPool;
  -         * Serialize NameIdPool<DTDElementDecl>*       fElemNonDeclPool;
            * Serialize NameIdPool<DTDEntityDecl>*        fEntityDeclPool;
            * Serialize NameIdPool<XMLNotationDecl>*      fNotationDeclPool;
            ***/
           XTemplateSerializer::storeObject(fElemDeclPool, serEng);
  -        XTemplateSerializer::storeObject(fElemNonDeclPool, serEng); //TODO: to be 
removed
           XTemplateSerializer::storeObject(fEntityDeclPool, serEng);
           XTemplateSerializer::storeObject(fNotationDeclPool, serEng);
   
  @@ -346,12 +347,11 @@
          /***
            *
            * Deserialize NameIdPool<DTDElementDecl>*       fElemDeclPool;
  -         * Deserialize NameIdPool<DTDElementDecl>*       fElemNonDeclPool;
            * Deserialize NameIdPool<DTDEntityDecl>*        fEntityDeclPool;
            * Deerialize NameIdPool<XMLNotationDecl>*       fNotationDeclPool;
            ***/
           XTemplateSerializer::loadObject(&fElemDeclPool, 109, 128, serEng);
  -        XTemplateSerializer::loadObject(&fElemNonDeclPool, 109, 128, serEng); 
//TODO: to be removed
  +        fElemNonDeclPool = 0;
           XTemplateSerializer::loadObject(&fEntityDeclPool, 109, 128, serEng);
           XTemplateSerializer::loadObject(&fNotationDeclPool, 109, 128, serEng);
   
  
  
  

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

Reply via email to