Dave Viner wrote:

Hi,
        For the past few weeks, I've been working on developing the meta
data storage facility that we discussed long ago on the xindice-dev list.
(See http://marc.theaimsgroup.com/?t=102873960400001&r=1&w=2 for
discussion.)


Dave,

this is really cool stuff, thanks a lot for providing it.

I have to go through it a bit more to understand the implementation, but as of now I have already some questions/suggestions floating around:

1. Have you thought about properly namespacing the metadata XML? Even a default namespace it might be safer (think about "including" the metadata in the data stream). I think this is an easy yet powerful addition, and it might allow for cool stuff like embedding (namespaced) metadata in a Collection or Resource result;

2. Do we have to explicitly set the metadata for any resource or, by just enabling a collection-level metadata each resource will get a minimum set such as creation/modification time? I understand that those data are available in the Xindice core, so it should be fairly easy to use them;

3. I'm thinking about how metadata might be exposed by a simple extension of the XML:DB API. I think that the "Service" extension point might be a good place to start (something like doing a MetadataQueryService). Have you thought about it? I think that, while we will have to go our way sooner or later, we should try to stay as close as possible to the API.

Let me know what you think. Meanwhile, I'm eager to play with your implementation! :-)

Ciao,

--
Gianugo Rabellino



Reply via email to