You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2003/11/05 17:38:08 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/schema SchemaGrammar.cpp

peiyongz    2003/11/05 08:38:08

  Modified:    c/src/xercesc/validators/schema SchemaGrammar.cpp
  Log:
  serialize DatatypeValidatorFactory first
  
  Revision  Changes    Path
  1.13      +8 -2      xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.cpp
  
  Index: SchemaGrammar.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SchemaGrammar.cpp	29 Oct 2003 16:22:30 -0000	1.12
  +++ SchemaGrammar.cpp	5 Nov 2003 16:38:08 -0000	1.13
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.13  2003/11/05 16:38:08  peiyongz
  + * serialize DatatypeValidatorFactory first
  + *
    * Revision 1.12  2003/10/29 16:22:30  peiyongz
    * serialize/deserialize substitutiongroup
    *
  @@ -345,6 +348,9 @@
   
       if (serEng.isStoring())
       {
  +        //serialize DatatypeValidatorFactory first
  +        fDatatypeRegistry.serialize(serEng);
  +
           /***
            *
            * Serialize RefHash3KeysIdPool<SchemaElementDecl>* fElemDeclPool;
  @@ -384,7 +390,6 @@
            ***/
           XTemplateSerializer::storeObject(fValidSubstitutionGroups, serEng);
   
  -        fDatatypeRegistry.serialize(serEng);
           serEng.writeString(fTargetNamespace);
           serEng<<fValidated;
           serEng<<fGramDesc;
  @@ -392,6 +397,8 @@
       }
       else
       {
  +        fDatatypeRegistry.serialize(serEng);
  +
           /***
            *
            * Deserialize RefHash3KeysIdPool<SchemaElementDecl>* fElemDeclPool;
  @@ -431,7 +438,6 @@
            ***/
           XTemplateSerializer::loadObject(&fValidSubstitutionGroups, 29, true, serEng);
   
  -        fDatatypeRegistry.serialize(serEng);
           serEng.readString(fTargetNamespace);
           serEng>>fValidated;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org