You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2004/02/12 19:11:10 UTC

cvs commit: xml-xerces/c/src/xercesc/dom/impl DOMAttrImpl.hpp

peiyongz    2004/02/12 10:11:10

  Modified:    c/src/xercesc/dom/impl DOMAttrImpl.hpp
  Log:
  Bug#26607, patch from apache@merlin.org (merlin)
  
  Revision  Changes    Path
  1.10      +4 -1      xml-xerces/c/src/xercesc/dom/impl/DOMAttrImpl.hpp
  
  Index: DOMAttrImpl.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMAttrImpl.hpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DOMAttrImpl.hpp	29 Jan 2004 11:44:26 -0000	1.9
  +++ DOMAttrImpl.hpp	12 Feb 2004 18:11:10 -0000	1.10
  @@ -145,6 +145,9 @@
   
   inline void DOMAttrImpl::addAttrToIDNodeMap()
   {
  +    if (fNode.isIdAttr()) 
  +        return;
  +
       fNode.isIdAttr(true);
   
       // REVIST For now, we don't worry about what happens if the new
  
  
  

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