On Monday, July 23, 2001, at 08:59 AM, Lars Martin wrote:

Do you mean the discussion with the Jochen Wiedman (Software AG) here

This is from the thread XPath Queries: Resources without ID



- Collection should have an isOpen method to determine if the collection
is still open.
- Collection methods should throw an exception if the collection is closed.

Hmm. Can you give me a use case? If the API is not Connection-based why we need a close()/isOpen() method? .. Please ignore my ignorance. ;-)

A collection can still consume resources that need to be released when you'
re done. In dbXML this is a CORBA object but in the reference impl there is nothing but it could be a directory cache or something like that. Anyway, the problem is once you call close the collection is invalid so you need a way to test for this. Another use case is that we have a CollectionPool as a contributed project at dbXML and the pool needs to know if a collection is still open or not to determine if it should be returned to the pool.



After this update I also want to make the existence of the API more widely
known and issue a call for implementations.

I hope that Per Nyfelt is able to provide the implementation of the XML:DB API. With this we could announce 2 + 1 ref implementations.


Did you ever get the code from him for the ozone impl?


--
______________________________________________________________________
Lars Martin                                    mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com

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


Kimbro Staken The dbXML Project htttp://www.dbxml.org ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact adminstrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------

Reply via email to