Interesting question. When we created the API there was no way to add collections at all. The CollectionManagementService was added later and it assumes that there is always some kind of collection to start from. Creating collections is a sticky problem overall because the existing databases are pretty different in this regard. That is the main reason it was pretty much left out. Can you assume a virtual root of some type that can be used for a starting point?

On Friday, January 4, 2002, at 04:37 PM, John Merrells wrote:

 
I'm working on a C++ implementation of this API. The first
puzzle I'm trying to solve is how collections are created. It
seems that the CollectionManagementService is the only
place where a collection can be created. And, it seems
that this service comes from getService on Collection. But,
I'd need a Collection object in order to get the interface to
create a collection. So, did I make a bad assumption, or
is the API specification incomplete in some respect?
 
John

Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to