You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ru...@apache.org on 2006/03/31 17:42:27 UTC

svn commit: r390444 - /webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java

Author: ruchithf
Date: Fri Mar 31 07:42:25 2006
New Revision: 390444

URL: http://svn.apache.org/viewcvs?rev=390444&view=rev
Log:
Fixed DocumentImpl to only build the document element (if it is not built)) when getDocumentElement() is called

Modified:
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java?rev=390444&r1=390443&r2=390444&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java Fri Mar 31 07:42:25 2006
@@ -418,7 +418,7 @@
         
         //We'r sure that only an element can be the first child of a Document
         if (this.documentElement == null && !this.done) {
-            this.build();
+            this.builder.next();
         }
         return this.documentElement;
     }