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...@locus.apache.org on 2000/02/21 19:43:55 UTC

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

lehors      00/02/21 10:43:55

  Modified:    java/src/org/apache/xerces/dom DocumentImpl.java
  Log:
  Document nodes don't have a ownerDocument
  
  Revision  Changes    Path
  1.12      +1 -2      xml-xerces/java/src/org/apache/xerces/dom/DocumentImpl.java
  
  Index: DocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/DocumentImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DocumentImpl.java	2000/02/05 02:23:03	1.11
  +++ DocumentImpl.java	2000/02/21 18:43:55	1.12
  @@ -155,8 +155,7 @@
       /** Experimental constructor. */
       public DocumentImpl(boolean grammarAccess) {
           super(null,null,null);
  -        // REVISIT: Documents don't have owner documents. -Ac
  -        ownerDocument = this;
  +        ownerDocument = null;
           allowGrammarAccess = grammarAccess;
       }