You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/01/24 17:30:50 UTC

cvs commit: xml-xerces/c/src/validators/DTD DTDScanner.cpp

tng         02/01/24 08:30:50

  Modified:    c/src/validators/DTD DTDScanner.cpp
  Log:
  [Bug 3111] Problem with LexicalHandler::startDTD() and LexicalHandler::endDTD() .
  
  Revision  Changes    Path
  1.25      +6 -0      xml-xerces/c/src/validators/DTD/DTDScanner.cpp
  
  Index: DTDScanner.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/DTD/DTDScanner.cpp,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- DTDScanner.cpp	17 Dec 2001 15:39:14 -0000	1.24
  +++ DTDScanner.cpp	24 Jan 2002 16:30:50 -0000	1.25
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: DTDScanner.cpp,v $
  + * Revision 1.25  2002/01/24 16:30:50  tng
  + * [Bug 3111] Problem with LexicalHandler::startDTD() and LexicalHandler::endDTD() .
  + *
    * Revision 1.24  2001/12/17 15:39:14  knoaman
    * Fix for surrogate pair support.
    *
  @@ -1617,6 +1620,9 @@
   
   void DTDScanner::scanDocTypeDecl(const bool reuseGrammar)
   {
  +    if (fDocTypeHandler)
  +        fDocTypeHandler->resetDocType();
  +
       // There must be some space after DOCTYPE
       if (!fReaderMgr->skipPastSpaces())
       {
  
  
  

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