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/03/14 23:05:22 UTC

cvs commit: xml-xerces/c/src/xercesc/idom IDNotationImpl.cpp

tng         02/03/14 14:05:22

  Modified:    c/src/xercesc/idom IDNotationImpl.cpp
  Log:
  IDOM Fix: Initialize fPublic/fSystemId to zero in IDNotationImpl.
  
  Revision  Changes    Path
  1.3       +3 -3      xml-xerces/c/src/xercesc/idom/IDNotationImpl.cpp
  
  Index: IDNotationImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/idom/IDNotationImpl.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IDNotationImpl.cpp	4 Feb 2002 21:20:59 -0000	1.2
  +++ IDNotationImpl.cpp	14 Mar 2002 22:05:21 -0000	1.3
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: IDNotationImpl.cpp,v 1.2 2002/02/04 21:20:59 tng Exp $
  + * $Id: IDNotationImpl.cpp,v 1.3 2002/03/14 22:05:21 tng Exp $
    */
   
   /**
  @@ -89,7 +89,7 @@
   
   
   IDNotationImpl::IDNotationImpl(IDOM_Document *ownerDoc, const XMLCh *nName)
  -    : fNode(ownerDoc)
  +    : fNode(ownerDoc), fPublicId(0), fSystemId(0)
   {
       fNode.setIsLeafNode(true);
       fName = ((IDDocumentImpl *)ownerDoc)->cloneString(nName);
  @@ -101,7 +101,7 @@
       fNode.setIsLeafNode(true);
       fName = other.fName;
       fPublicId = other.fPublicId;
  -    fPublicId = other.fSystemId;
  +    fSystemId = other.fSystemId;
   };
   
   
  
  
  

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