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

cvs commit: xml-xerces/c/src/xercesc/validators/common GrammarResolver.cpp

gareth      2003/08/22 02:04:41

  Modified:    c/src/xercesc/validators/common GrammarResolver.cpp
  Log:
  keep the fGrammarFromPool in sync to avoid problems when parseing multiple times. Patch by Alberto Massari.
  
  Revision  Changes    Path
  1.16      +5 -0      xml-xerces/c/src/xercesc/validators/common/GrammarResolver.cpp
  
  Index: GrammarResolver.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/common/GrammarResolver.cpp,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- GrammarResolver.cpp	31 Jul 2003 17:08:39 -0000	1.15
  +++ GrammarResolver.cpp	22 Aug 2003 09:04:41 -0000	1.16
  @@ -57,6 +57,9 @@
   
   /*
    * $Log$
  + * Revision 1.16  2003/08/22 09:04:41  gareth
  + * keep the fGrammarFromPool in sync to avoid problems when parseing multiple times. Patch by Alberto Massari.
  + *
    * Revision 1.15  2003/07/31 17:08:39  peiyongz
    * Grammar embed grammar description
    * fGrammarFromPool introduced
  @@ -370,6 +373,7 @@
   {
       if (fCacheGrammar)
       {
  +        fGrammarFromPool->removeKey(nameSpaceKey);
           return fGrammarPool->orphanGrammar(nameSpaceKey);
       }
       else
  
  
  

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