You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@apache.org on 2001/02/05 22:40:46 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom AttrImpl.java

lehors      01/02/05 13:40:46

  Modified:    java/src/org/apache/xerces/dom AttrImpl.java
  Log:
  cloneNode failed to call synchronizeChildren
  
  Revision  Changes    Path
  1.30      +3 -0      xml-xerces/java/src/org/apache/xerces/dom/AttrImpl.java
  
  Index: AttrImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/AttrImpl.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- AttrImpl.java	2001/01/26 19:20:14	1.29
  +++ AttrImpl.java	2001/02/05 21:40:45	1.30
  @@ -205,6 +205,9 @@
           AttrImpl clone = (AttrImpl) super.cloneNode(deep);
   
           // take care of case where there are kids
  +        if (needsSyncChildren()) {
  +            synchronizeChildren();
  +        }
       	if (!clone.hasStringValue()) {
   
               // Need to break the association w/ original kids