176 lines
3.0 KiB
Plaintext
176 lines
3.0 KiB
Plaintext
head 1.5;
|
|
access;
|
|
symbols;
|
|
locks; strict;
|
|
comment @# @;
|
|
|
|
|
|
1.5
|
|
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
|
|
branches;
|
|
next 1.4;
|
|
|
|
1.4
|
|
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
|
|
branches;
|
|
next 1.3;
|
|
|
|
1.3
|
|
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
|
|
branches;
|
|
next 1.2;
|
|
|
|
1.2
|
|
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
|
|
branches;
|
|
next 1.1;
|
|
|
|
1.1
|
|
date 2007.01.09.00.00.00; author MoinMoin; state Exp;
|
|
branches;
|
|
next ;
|
|
|
|
|
|
desc
|
|
@Initial revision
|
|
@
|
|
|
|
|
|
1.5
|
|
log
|
|
@Revision 5
|
|
@
|
|
text
|
|
@---+ Datasource Inventory Proposal One
|
|
|
|
A proposal for an InventoryRequest that accepts multiple concepts.
|
|
|
|
---+++++ Request
|
|
<verbatim>
|
|
<request>
|
|
<header>
|
|
...
|
|
</header>
|
|
<inventory count="true" start=0 limit=1000 xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
|
|
<concepts>
|
|
<concept path="ns1:/record/taxon/fullname"/> *
|
|
<concept path="ns2:/Gazeteer/Location/ISOcountry"/>
|
|
</concepts>
|
|
<filter>
|
|
...
|
|
</filter>
|
|
</inventory>
|
|
</request>
|
|
|
|
with* being repeatable elements
|
|
</verbatim>
|
|
|
|
---+++++ Response
|
|
|
|
<verbatim>
|
|
<response>
|
|
<header>
|
|
...
|
|
</header>
|
|
<inventory xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
|
|
<record count="13"> *
|
|
<value>Abies alba Mill.</value> *
|
|
<value>DE</value>
|
|
</record>
|
|
<record count="45">
|
|
<value>Quercus robur L.</value>
|
|
<value>DE</value>
|
|
</record>
|
|
</inventory>
|
|
<footer start="0" next="2" totalReturned="2" totalMatched="117" DatasourceInventoryProposalOne>
|
|
</response>
|
|
|
|
with* being repeatable elements
|
|
</verbatim>
|
|
|
|
Note: order of values should be the same as the order of concepts specified in the request.
|
|
@
|
|
|
|
|
|
1.4
|
|
log
|
|
@Revision 4
|
|
@
|
|
text
|
|
@a32 4
|
|
<recordHeader>
|
|
<concept path="ns1:/record/taxon/fullname"/> *
|
|
<concept path="ns2:/Gazeteer/Location/ISOcountry"/>
|
|
</recordHeader>
|
|
@
|
|
|
|
|
|
1.3
|
|
log
|
|
@Revision 3
|
|
@
|
|
text
|
|
@d46 1
|
|
a46 1
|
|
<footer start="0" next="100" totalReturned="95" totalMatched="3145" DatasourceInventoryProposalOne>
|
|
@
|
|
|
|
|
|
1.2
|
|
log
|
|
@Revision 2
|
|
@
|
|
text
|
|
@d8 9
|
|
a16 1
|
|
<header>
|
|
d18 2
|
|
a19 10
|
|
</header>
|
|
<inventory count="true" start=0 limit=1000 xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
|
|
<concepts>
|
|
<concept path="ns1:/record/taxon/fullname"/> *
|
|
<concept path="ns2:/Gazeteer/Location/ISOcountry"/>
|
|
</concepts>
|
|
<filter>
|
|
...
|
|
</filter>
|
|
</inventory>
|
|
d28 6
|
|
a33 2
|
|
<inventory xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
|
|
<recordHeader>
|
|
d36 2
|
|
a37 2
|
|
</recordHeader>
|
|
<record count="13"> *
|
|
d40 2
|
|
a41 2
|
|
</record>
|
|
<record count="45">
|
|
d44 4
|
|
a47 2
|
|
</record>
|
|
</inventory>
|
|
@
|
|
|
|
|
|
1.1
|
|
log
|
|
@Initial revision
|
|
@
|
|
text
|
|
@d11 1
|
|
a11 4
|
|
<inventory count="true" xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
|
|
<filter>
|
|
...
|
|
</filter>
|
|
d16 3
|
|
d29 4
|
|
d37 2
|
|
a38 2
|
|
<record count="45"> *
|
|
<value>Quercus robur L.</value> *
|
|
@
|