OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: Proposal to modify Classifications in ebRIM


Martin,

I last posting was incomplete.  See responses inline.

Martin Bryan wrote:

> Farrukh
>
> >>a) to recover all the nodes and relationships within a classification
> scheme
> >>in a single operation
>
> >The above has always been supported since the earliest versions of the
> spec. I
> >have a very large XML file for a SubmitObjectsRequest that submits:
>
> SubmitObjectsRequest works in the other direction from my statement, which
> requires a ReturnObjectTreeRequest that outputs a complete set of linked
> objects below a given "root node" (which may or may not be the root of the
> classification scheme)

To go the other direction it works as well. One can issue a
GetClassificationTreeRequest and give it  ClassificationNode reference to any
node in any scheme, and a integer depth parameter as input. The resulting
GetClassificationTreeResponse will have the complete linked tree for the
requested sub-tree in the scheme scheme as a single XML document when the depth
specified is negative. Othewise it return descendent nodes upto specified level
of depth. If the specified node is a root of a scheme then the entire scheme can
be retrieved as well.

Does that meet the first use case as you envision it?

>
>
> >>b) to be able to identify any set of nodes in a classification scheme
> using
> >>a web processable address based on the XPath specification.
>
> >Again this feature was added is already suported
>
> >"getPath()           Gets the path from the root ancestor of this
> >ClassificationNode. The path conforms to the [XPATH] expression syntax (e.g
> >“/Geography/Asia/Japan”). Maps to attribute named path."
>
> getPath only returns a single node. Note that I set "set of nodes". Using a
> range statement I should be able to retrieve any fragment of an existing
> classification scheme that is relevant.

The above can currently be supported with SQL Query facility in OASIS ebRS V1.0
with a query like below:

SELECT FROM ClassificationNode WHERE path = ‘/Geography/Asia/*’

I do think that it would be good to support this use case in the focused queries
as well. Currently we have the following focused queries:

GetRootClassificationNodes
GetClassificationTree
GetClassifiedObjects
GetContent

I am intending to prpose a set of focused enhancements to the focused query set
to allow for the basis use cases to be easily covered. For example currently a
client has to use Filter query or SQL query to do the basis use case of finding
and Organization by name or description. Finding a ClassificationNode by path
should be a welcome addition.




>
>
> Martin

--
Regards,
Farrukh

begin:vcard 
n:Najmi;Farrukh
tel;work:781-442-0703
x-mozilla-html:FALSE
url:www.sun.com
org:Sun Microsystems;Java Software
adr:;;1 Network Dr. MS BUR02-302;Burlington;MA;01803-0902;USA
version:2.1
email;internet:najmi@east.sun.com
fn:Farrukh Najmi
end:vcard


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC