You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Dave Viner <dv...@yahoo-inc.com> on 2002/12/23 19:05:11 UTC
proposal for metadata
Hi,
I would like to propose a course of action regarding metadata storage in
Xindice. First, I propose to commit the changes I posted at
http://marc.theaimsgroup.com/?l=xindice-dev&m=103946437104874&w=2 Second, I
propose to commit Murray's XNode api to the scratchpad. (Murray, if you
can send me a set of .java files that implement the XNode api, I will commit
them to the scratchpad, and make sure that they compile.)
This will allow developers to see if the concept of metadata is useful in
Xindice. It seems clear from several threads that metadata is a
controversial subject, but I believe that this functionality will be
extremely useful for those who need it, and will be unobtrusive to those who
don't. If people still feel strongly that any metadata solution should not
be in the core, then I will call for a vote seperately on this topic. If no
one objects strongly, I will commit my changes and Murry's code.
Thanks
Dave
Re: proposal for metadata
Posted by Gianugo Rabellino <gi...@apache.org>.
Dave Viner wrote:
> Hi,
> I would like to propose a course of action regarding metadata storage in
> Xindice. First, I propose to commit the changes I posted at
> http://marc.theaimsgroup.com/?l=xindice-dev&m=103946437104874&w=2 Second, I
> propose to commit Murray's XNode api to the scratchpad. (Murray, if you
> can send me a set of .java files that implement the XNode api, I will commit
> them to the scratchpad, and make sure that they compile.)
>
+1
Ciao,
--
Gianugo
RE: proposal for metadata
Posted by Dave Viner <dv...@yahoo-inc.com>.
The schema idea is a good one. I think this is what tamino has. But the
beauty of this implemenation is that it allows this capability, and more.
Another example usage might be something in a CMS (Content Management
System) where documents and/or collections have a state within a workflow.
This is a simple example of a finite state machine that is common to
virtually all cms implementations. Imagine you have an article that's
written by one person, edited by another, reviewed by legal, and published
by some other role. Each of these roles might be filled by different
people. Having the ability to associate metadata with each document allows
me to develop a system which routes documents to the right people through
the courses of development. Maybe first it goes to a contractor, then an
editor, then a lawyer, then an engineer.
I'm sure there are tons and tons of uses for metadata beyond this. I think
(and hope) that the metadata capability will be used for purposes far beyond
my imagination!
I'll be working on documentation and tests to help everyone who wants to use
it have the right information to be able to use it. In the meantime, please
don't hesitate to ask me directly.
dave
-----Original Message-----
From: Matt Liotta [mailto:mliotta@r337.com]
Sent: Tuesday, December 24, 2002 8:02 AM
To: xindice-dev@xml.apache.org
Subject: RE: proposal for metadata
It seems there is still no consensus on metadata. I know this has been
covered, but I am really at a loss for what I would do with the proposed
metadata implementation.
In thinking about it, I did come up with one idea. Potentially, a
metadata implementation might simply be a schema for a collection that
is able to be queried. Further, if a schema was attached to a collection
one might force validation of documents in that collection.
The above seems simple enough to implement and potentially useful. In
looking at how we are using Xindice, we would have immediate benefit.
Could some explain how the proposed metadata implementation is different
and/or better?
Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
> -----Original Message-----
> From: Vladimir R. Bossicard [mailto:vladimir@apache.org]
> Sent: Tuesday, December 24, 2002 2:21 AM
> To: xindice-dev@xml.apache.org
> Subject: Re: proposal for metadata
>
> Sorry to bother,
>
> XNode in scratchpad: +1
> Metadata: -0. Isn't is possible to create this a service for a
> collection?
>
> - where are the tests? Can't this code fail?
> - where is the documentation?
> - can we see the files from the meta package?
> - the '{' are placed at the end of the line
>
> > This will allow developers to see if the concept of metadata is
useful
> in
> > Xindice.
>
> and if 99% think that this is not useful, we will have to keep (and
> maintain) the code for 1% of the users...
>
> But if you want to commit right away, go ahead. I don't want to be
the
> only one that stops the code from floading into the codebase.
>
> -Vladimir
>
> --
> Vladimir R. Bossicard
> Apache Xindice - http://xml.apache.org/xindice
RE: proposal for metadata
Posted by Matt Liotta <ml...@r337.com>.
It seems there is still no consensus on metadata. I know this has been
covered, but I am really at a loss for what I would do with the proposed
metadata implementation.
In thinking about it, I did come up with one idea. Potentially, a
metadata implementation might simply be a schema for a collection that
is able to be queried. Further, if a schema was attached to a collection
one might force validation of documents in that collection.
The above seems simple enough to implement and potentially useful. In
looking at how we are using Xindice, we would have immediate benefit.
Could some explain how the proposed metadata implementation is different
and/or better?
Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
> -----Original Message-----
> From: Vladimir R. Bossicard [mailto:vladimir@apache.org]
> Sent: Tuesday, December 24, 2002 2:21 AM
> To: xindice-dev@xml.apache.org
> Subject: Re: proposal for metadata
>
> Sorry to bother,
>
> XNode in scratchpad: +1
> Metadata: -0. Isn't is possible to create this a service for a
> collection?
>
> - where are the tests? Can't this code fail?
> - where is the documentation?
> - can we see the files from the meta package?
> - the '{' are placed at the end of the line
>
> > This will allow developers to see if the concept of metadata is
useful
> in
> > Xindice.
>
> and if 99% think that this is not useful, we will have to keep (and
> maintain) the code for 1% of the users...
>
> But if you want to commit right away, go ahead. I don't want to be
the
> only one that stops the code from floading into the codebase.
>
> -Vladimir
>
> --
> Vladimir R. Bossicard
> Apache Xindice - http://xml.apache.org/xindice
Re: proposal for metadata
Posted by "Vladimir R. Bossicard" <vl...@apache.org>.
Sorry to bother,
XNode in scratchpad: +1
Metadata: -0. Isn't is possible to create this a service for a collection?
- where are the tests? Can't this code fail?
- where is the documentation?
- can we see the files from the meta package?
- the '{' are placed at the end of the line
> This will allow developers to see if the concept of metadata is useful in
> Xindice.
and if 99% think that this is not useful, we will have to keep (and
maintain) the code for 1% of the users...
But if you want to commit right away, go ahead. I don't want to be the
only one that stops the code from floading into the codebase.
-Vladimir
--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice
Re: proposal for metadata
Posted by Murray Altheim <m....@open.ac.uk>.
Murray Altheim wrote:
> [regarding the XNode API...]
[...]
> I discussed some of the issues with Vladimir, and thought I'd
> note several things:
>
> 1. The API's package is org.apache.xnode.*. Vladimir suggested
> I change this to org.apache.xindice.xnode.*, but I've not
> yet done this, partly because I'm not sure it's a correct
> course of action -- XNode is an API that doesn't "know" about
> Xindice, ie., Xindice is not even mentioned in the code --
> it's independent. (I also hesitate because I've been using
> the current API as-is for over a year and have a fairly
> extensive personal store of data, so unless the change is
> truly necessary, I'd rather not have to transform all that
> data.)
Small mistake: Vladimir suggested org.apache.xindicex.xnode.*.
^^^
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK
If you're the first person in a new territory,
you're likely to get shot at.
-- ma
Re: proposal for metadata
Posted by "Vladimir R. Bossicard" <vl...@apache.org>.
> I also hesitate because I've been using
> the current API as-is for over a year and have a fairly
> extensive personal store of data, so unless the change is
> truly necessary, I'd rather not have to transform all that
> data.
find . -name "*.*" -exec replace org.apache.xnode
org.apache.xindice.xnode -- {} \;
:-)
org.apache.xnode implies (?) that xnode is an apache sub-project, which
is not the case. Or am I wrong?
the xindicex came from my idea to have a package separation between the
core modules and the extensions ('x'). But it looks like everything
will come under xindice.
-Vladimir
--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice
Re: proposal for metadata
Posted by Murray Altheim <m....@open.ac.uk>.
Gianugo Rabellino wrote:
> Vladimir R. Bossicard wrote:
>
>> :-)
>>
>> org.apache.xnode implies (?) that xnode is an apache sub-project,
>> which is not the case. Or am I wrong?
>
> Not really, it might suggest it but it's not always like this (think
> org.apache.xpath).
>
>> the xindicex came from my idea to have a package separation between
>> the core modules and the extensions ('x'). But it looks like
>> everything will come under xindice.
>
> The idea might be good, but I dislike the "xindicex" naming (though I
> understand that it's a quite standard way to name extensions). :-) I'd
> rather have o.a.x.extensions, o.a.x.components, o.a.x.modules,
> o.a.x.plugins or some other clever name we might come up with.
To some degree obviously this isn't that big an issue, but as I
mentioned, the reason I chose to create org.apache.xnode.* was
that XNode isn't actually a subproject of Xindice, i.e., it doesn't
rely on Xindice and was actually developed when things were still
dbXML, and could be used with dbXML or perhaps even XMLDB. Heck,
it's possible it could be used outside of the entire database
world as simply a SOAP-like wrapper for XML content. Again, the
background for this comes from Lee Iverson's NODAL project, with
the idea of a core "node" for content.
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK
If you're the first person in a new territory,
you're likely to get shot at.
-- ma
Re: proposal for metadata
Posted by Gianugo Rabellino <gi...@apache.org>.
Vladimir R. Bossicard wrote:
> :-)
>
> org.apache.xnode implies (?) that xnode is an apache sub-project, which
> is not the case. Or am I wrong?
Not really, it might suggest it but it's not always like this (think
org.apache.xpath).
>
> the xindicex came from my idea to have a package separation between the
> core modules and the extensions ('x'). But it looks like everything
> will come under xindice.
The idea might be good, but I dislike the "xindicex" naming (though I
understand that it's a quite standard way to name extensions). :-) I'd
rather have o.a.x.extensions, o.a.x.components, o.a.x.modules,
o.a.x.plugins or some other clever name we might come up with.
Ciao,
--
Gianugo
Re: proposal for metadata
Posted by "Vladimir R. Bossicard" <vl...@apache.org>.
> I also hesitate because I've been using
> the current API as-is for over a year and have a fairly
> extensive personal store of data, so unless the change is
> truly necessary, I'd rather not have to transform all that
> data.
find . -name "*.*" -exec replace org.apache.xnode
org.apache.xindice.xnode -- {} \;
:-)
org.apache.xnode implies (?) that xnode is an apache sub-project, which
is not the case. Or am I wrong?
the xindicex came from my idea to have a package separation between the
core modules and the extensions ('x'). But it looks like everything
will come under xindice.
-Vladimir
--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice
Re: proposal for metadata
Posted by Murray Altheim <m....@open.ac.uk>.
[regarding the XNode API...]
Dave Viner wrote:
> Hi,
> I would like to propose a course of action regarding metadata storage in
> Xindice. First, I propose to commit the changes I posted at
> http://marc.theaimsgroup.com/?l=xindice-dev&m=103946437104874&w=2 Second, I
> propose to commit Murray's XNode api to the scratchpad. (Murray, if you
> can send me a set of .java files that implement the XNode api, I will commit
> them to the scratchpad, and make sure that they compile.)
Will do, under separate cover.
> This will allow developers to see if the concept of metadata is useful in
> Xindice. It seems clear from several threads that metadata is a
> controversial subject, but I believe that this functionality will be
> extremely useful for those who need it, and will be unobtrusive to those who
> don't. If people still feel strongly that any metadata solution should not
> be in the core, then I will call for a vote seperately on this topic. If no
> one objects strongly, I will commit my changes and Murry's code.
I discussed some of the issues with Vladimir, and thought I'd
note several things:
1. The API's package is org.apache.xnode.*. Vladimir suggested
I change this to org.apache.xindice.xnode.*, but I've not
yet done this, partly because I'm not sure it's a correct
course of action -- XNode is an API that doesn't "know" about
Xindice, ie., Xindice is not even mentioned in the code --
it's independent. (I also hesitate because I've been using
the current API as-is for over a year and have a fairly
extensive personal store of data, so unless the change is
truly necessary, I'd rather not have to transform all that
data.)
2. The XNode API is currently only an API -- there is no
implementation included in what I'm sending Dave. I've got
a working implementation in my Ceryle project, but it'd
take a bit of work to make it independent. I've got i18n
and error messaging features that rely on Ceryle that can
be removed, and I'm willing to do so later this Spring if
people want to add that code to the Xindice code base. One
of the reasons I've not done this previously is that I was
trying *not* to assume to inflate the Xindice code base;
the API itself is quite tiny.
3. You'll perhaps note a similarity to SOAP. This is SOAP-lite,
or SSOAP (simple simple object access protocol, what SOAP
pretended to be when MS shoved it under the W3C's door, not
what it turned out to be).
Currently it doesn't support metadata at the Collection level,
but I don't think this would be too difficult an addition if
people like the basic idea; almost a cut and paste.
4. The API documentation is currently at
http://kmi.open.ac.uk/projects/ceryle/doc/api/
paying attention to org.apache.xnode.* and org.ceryle.xnode.*
There's a subtree that's currently unfinished for zipping a
Collection up as an archive -- I've got the ZipWriter working
just fine, but haven't implemented the prototype ZipReader
yet, so I've not finished that part of the API. I'm not
certain I want to actually add this to the API at this point,
though it is quite handy. I have a GUI dialog that allows me
to select one or more Collections, which then get zipped up
to a file. Pretty simple, really.
Thanks all for your consideration on this, and have a relaxing
holiday. I'm in Portugal until January 10th, out of touch until
then.
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK
If you're the first person in a new territory,
you're likely to get shot at.
-- ma
Re: proposal for metadata
Posted by Kimbro Staken <ks...@xmldatabases.org>.
On Monday, December 23, 2002, at 11:05 AM, Dave Viner wrote:
> Hi,
> I would like to propose a course of action regarding metadata storage
> in
> Xindice. First, I propose to commit the changes I posted at
> http://marc.theaimsgroup.com/?l=xindice-dev&m=103946437104874&w=2
> Second, I
> propose to commit Murray's XNode api to the scratchpad. (Murray, if
> you
> can send me a set of .java files that implement the XNode api, I will
> commit
> them to the scratchpad, and make sure that they compile.)
+1
>
> This will allow developers to see if the concept of metadata is
> useful in
> Xindice. It seems clear from several threads that metadata is a
> controversial subject, but I believe that this functionality will be
> extremely useful for those who need it, and will be unobtrusive to
> those who
> don't. If people still feel strongly that any metadata solution
> should not
> be in the core, then I will call for a vote seperately on this topic.
> If no
> one objects strongly, I will commit my changes and Murry's code.
>
> Thanks
> Dave
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing
http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
Re: proposal for metadata
Posted by Kurt Ward <ku...@yahoo.com>.
I agress with Dave's proposal, and I think we stand to
gain some immediate benefits from having the code in
CVS.
Kurt
--- Dave Viner <dv...@yahoo-inc.com> wrote:
> Hi,
> I would like to propose a course of action
> regarding metadata storage in
> Xindice. First, I propose to commit the changes I
> posted at
>
http://marc.theaimsgroup.com/?l=xindice-dev&m=103946437104874&w=2
> Second, I
> propose to commit Murray's XNode api to the
> scratchpad. (Murray, if you
> can send me a set of .java files that implement the
> XNode api, I will commit
> them to the scratchpad, and make sure that they
> compile.)
>
> This will allow developers to see if the concept of
> metadata is useful in
> Xindice. It seems clear from several threads that
> metadata is a
> controversial subject, but I believe that this
> functionality will be
> extremely useful for those who need it, and will be
> unobtrusive to those who
> don't. If people still feel strongly that any
> metadata solution should not
> be in the core, then I will call for a vote
> seperately on this topic. If no
> one objects strongly, I will commit my changes and
> Murry's code.
>
> Thanks
> Dave
>