For a new release of XML:DB API we should resolve the issue with (de) registering databases. Xindice would like to (de)register *one* db instance for several names. Currently this is not supported. For three different names/uri three databases will be (de)registered. Well, this is not the wanted behaviour - but I don't like the proposed patch with the StringTokenizer. Does you guys have other ideas?
it depends if you want to change the interface or not.
If a change is ok, 'Iterator getNames()' could solve the problem. Once this is in place, you can do whatever you want internally to handle multiple names/single database.
If you don't want to change the interface, you could go with a getName() returning an XML string.
-Vladimir
-- Vladimir R. Bossicard www.bossicard.com
---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------