Date: 2004-03-28T09:24:19
   Editor: VadimGritsenko <[EMAIL PROTECTED]>
   Wiki: Xindice Wiki
   Page: ArticleUpgrade
   URL: http://wiki.apache.org/xindice/ArticleUpgrade

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,21 +1,24 @@
 For people who are having problems with the code found in the DevX article on 
Xindice when they use Xindice 1.1 instead of 1.0, the following should be 
useful.
 
 Instead of using the following to embedded a database instance...
-
+{{{
 c = Class.forName("org.apache.xindice.client.xmldb.DatabaseImpl");
 database = (Database) c.newInstance();
 DatabaseManager.registerDatabase(database);
+}}}
 
 Use the following...
-
+{{{
 Class c = Class.forName("org.apache.xindice.client.xmldb.embed.DatabaseImpl");
 database = (Database) c.newInstance();
 DatabaseManager.registerDatabase(database);
+}}}
 
 Instead of using the following to collection management...
-
+{{{
 CollectionManager service = (CollectionManager) 
col.getService("CollectionManager", "1.0");
-
+}}}
 Use the following...
-
+{{{
 CollectionManagementService service = (CollectionManagementService) 
col.getService("CollectionManagementService", "1.0");
+}}}

Reply via email to