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/07/16 20:22:45 UTC

cvs commit: xml-xerces/c/src/xercesc/dom/deprecated DocumentImpl.cpp

tng         2002/07/16 11:22:45

  Modified:    c/src/xercesc/dom/deprecated DocumentImpl.cpp
  Log:
  [Bug 9502] purify UMR in DocumentImpl::DocumentImpl.  Patch from Case Larsen.
  
  Revision  Changes    Path
  1.3       +2 -2      xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.cpp
  
  Index: DocumentImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DocumentImpl.cpp	21 May 2002 20:15:00 -0000	1.2
  +++ DocumentImpl.cpp	16 Jul 2002 18:22:45 -0000	1.3
  @@ -122,7 +122,6 @@
   	setDocumentType(doctype);
   	
       docElement=null;
  -    appendChild(createElementNS(fNamespaceURI, qualifiedName));  //root element
       namePool    = new DStringPool(257);
       iterators   = 0;
       treeWalkers = 0;
  @@ -131,6 +130,7 @@
       ranges      = 0;
       fChanges = 0;
       errorChecking = true;
  +    appendChild(createElementNS(fNamespaceURI, qualifiedName));  //root element
   }
   
   void DocumentImpl::setDocumentType(DocumentTypeImpl *doctype)
  
  
  

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