You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/06/03 22:51:21 UTC
cvs commit: xml-xerces/c/tests/DOM/DOMTest DTest.cpp
tng 2002/06/03 13:51:21
Modified: c/tests/DOM/DOMTest DTest.cpp
Log:
DOM L3: Add DOMImplementationRegistry and DOMImplementationSource
Revision Changes Path
1.20 +8 -2 xml-xerces/c/tests/DOM/DOMTest/DTest.cpp
Index: DTest.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMTest/DTest.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- DTest.cpp 21 May 2002 18:50:16 -0000 1.19
+++ DTest.cpp 3 Jun 2002 20:51:21 -0000 1.20
@@ -56,6 +56,9 @@
/*
* $Log: DTest.cpp,v $
+ * Revision 1.20 2002/06/03 20:51:21 tng
+ * DOM L3: Add DOMImplementationRegistry and DOMImplementationSource
+ *
* Revision 1.19 2002/05/21 18:50:16 tng
* Test case update: modify to use the latest DOM interface
*
@@ -151,7 +154,10 @@
*
*/
DOMDocument* DOMTest::createDocument() {
- DOMImplementation* impl = DOMImplementation::getImplementation();
+ XMLCh coreStr[100];
+ XMLString::transcode("Core",coreStr,99);
+
+ DOMImplementation* impl = DOMImplementationRegistry::getDOMImplementation(coreStr);
return impl->createDocument();
};
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org