> A couple points here. First the API is still evolving and in fact is 
> really due for another revision so the docs are definitely not complete. 

I agree. I get the impression that very few people are really
participating in the defition of the API. I'd like to encourage
implementors and users of the XML:DB API and other developers of XML
databases who haven't started an implementation, yet, to bring in their
experiences and suggestions.

Maybe it's necessary to go and knock on other XML database developer's
doors to ask them to provide an implementation of XML:DB. It was quite
impressive how little time it took me to create an XML:DB layer on top
of JDBC.

I think Ronald Bourret has a lot of influence in this regard. He could
probably give XML:DB a little more importance in the next revisions of
his site. If you agree, Ronald....

Another point is to get non-Java developers to create XML:DB
implementations.

> Maybe the functionality of the API should be that the key for the resource 
> is always that of the originating document instead of being empty. I'm not 
> sure about this, it might confuse people. Clearly being able to connect 
> back to the original document is important which is why the src:key 
> attribute was added in dbXML but how this is handled in a general case is 
> unclear. Any suggestions on what the proper way to handle this would be?

That's what I'd like to see. And I'm sure that it doesn't confuse people
if the behaviour is clearly documented. The only problem is that some
implementations may not be able to provide that ID.

> > Here is my use case, I'm not sure how to perform in a generic way, i.e.
> > without relying on dbXML and its "src:key" attribute:
> >
> 
> Clearly we need to find a general solution for this.
> 
> > "Delete all documents created in a given date range."
> >
> > Where the XML instances have the following sample structure:
> > <doc created="2001-07-02">
> >     <data>...</data>
> > </doc>

One possibility is to extend the XPathQueryService to contain a method
such as this:

public interface XPathQueryService extends Service {
   ResourceIterator query(String query) throws XMLDBException;
   void remove(String query) throws XMLDBException;
}


Jeremias M�rki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


----------------------------------------------------------------------
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