[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kdom/test
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-08-31 23:51:10
Message-ID: 1125532270.452220.20748.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 455611 by buis:

Do not try to commit another document element when there is already one present.
This fixes ecmatest, which means all kdom test apps should work fine again.


 M  +0 -3      ecmatest.cpp  


--- trunk/kdenonbeta/kdom/test/ecmatest.cpp #455610:455611
@@ -69,9 +69,6 @@
                                                 KDOM::DOMString("name"),
                                                 \
KDOM::DocumentType(KDOM::DOMImplementationImpl::self()->defaultDocumentType()));  
-    KDOM::Element root = doc.createElementNS("http://www.ecommerce.org/", \
                "my:rootElement");
-    doc.appendChild(root);
-
     // Access ecma engine
     KDOM::Ecma *ecmaEngine = static_cast<KDOM::DocumentImpl \
*>(doc.handle())->ecmaEngine();  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic