xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leh...@apache.org
Subject cvs commit: xml-xerces/java/src/org/apache/xerces/dom ParentNode.java
Date Mon, 12 Feb 2001 19:21:24 GMT
lehors      01/02/12 11:21:23

  Modified:    java/src/org/apache/xerces/dom ParentNode.java
  Log:
  fixed setOwnerDocument
  
  Revision  Changes    Path
  1.25      +3 -2      xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java
  
  Index: ParentNode.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- ParentNode.java	2001/02/06 02:05:00	1.24
  +++ ParentNode.java	2001/02/12 19:21:19	1.25
  @@ -1,4 +1,4 @@
  -/* $Id: ParentNode.java,v 1.24 2001/02/06 02:05:00 lehors Exp $ */
  +/* $Id: ParentNode.java,v 1.25 2001/02/12 19:21:19 lehors Exp $ */
   /*
    * The Apache Software License, Version 1.1
    *
  @@ -214,11 +214,12 @@
           if (needsSyncChildren()) {
               synchronizeChildren();
           }
  +        super.setOwnerDocument(doc);
  +        ownerDocument = doc;
   	for (ChildNode child = firstChild;
   	     child != null; child = child.nextSibling) {
   	    child.setOwnerDocument(doc);
   	}
  -        ownerDocument = doc;
       }
   
       /**
  
  
  

Mime
View raw message