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 2003/01/29 16:24:45 UTC

cvs commit: xml-xerces/c/src/xercesc/parsers AbstractDOMParser.cpp

tng         2003/01/29 07:24:45

  Modified:    c/src/xercesc/parsers AbstractDOMParser.cpp
  Log:
  fDocument should be null if doc cannot be opened.
  
  Revision  Changes    Path
  1.33      +2 -2      xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.cpp
  
  Index: AbstractDOMParser.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.cpp,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- AbstractDOMParser.cpp	3 Jan 2003 20:09:36 -0000	1.32
  +++ AbstractDOMParser.cpp	29 Jan 2003 15:24:45 -0000	1.33
  @@ -721,12 +721,12 @@
       //  from a previous use, in particular the DOM document itself.
       //
       this->reset();
  -    fDocument = (DOMDocumentImpl *)DOMImplementation::getImplementation()->createDocument();
   }
   
   
   void AbstractDOMParser::startDocument()
   {
  +    fDocument = (DOMDocumentImpl *)DOMImplementation::getImplementation()->createDocument();
       // Just set the document as the current parent and current node
       fCurrentParent = fDocument;
       fCurrentNode   = fDocument;
  
  
  

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