[OAI-implementers] name value pair question

Scholte, J.C.M. J.C.M.Scholte at uva.nl
Thu Dec 8 10:03:50 EST 2005



that must be 'until' of course in the url's mentioned ;-)




-----Oorspronkelijk bericht-----
Van: oai-implementers-bounces at openarchives.org
[mailto:oai-implementers-bounces at openarchives.org]Namens Simeon Warner
Verzonden: donderdag 8 december 2005 15:37
Aan: Rob Tice
CC: oai-implementers at openarchives.org
Onderwerp: Re: [OAI-implementers] name value pair question




I think parameters without a value should be omitted, hence naming them
"optional arguments". This is certainly the rule followed in the examples
in the specification
http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm#ProtocolMessages

"from=" would likely be interpreted as a from date that is a null string
and thus give a badArgument error, e.g:
http://eprints.rclis.org/perl/oai2?verb=ListRecords&metadataPrefix=oai_dc&from=&to=2005-10-18
http://arxiv.org/oai2?verb=ListRecords&metadataPrefix=oai_dc&from=&to=2005-10-18
http://dspace.mit.edu/oai/request?verb=ListRecords&metadataPrefix=oai_dc&from=&to=2005-10-18
http://libeprints.open.ac.uk/perl/oai2?verb=ListRecords&metadataPrefix=oai_dc&from=&to=2005-10-18

Cheers,
Simeon


On Thu, 8 Dec 2005, Rob Tice wrote:
> Hi all
>
> I have just subscribed to the list as I was hoping to seek the opinion of
> the implementation community on an interoperability issue we are currently
> having.
>
> We are experiencing some problems based around how we submit name value
> pairs in a query and the specification of a name without a value.
>
> Take the following query
>
> ?verb=ListRecords&metadataPrefix=oai_dc&from=&to=18-10-2005
>
> We are taking the view that this is a valid query i.e. the specification of
> &from= with no value is syntactically correct.
>
> Are we correct in this assumption?
>
> Apologies if this is a trivial question.
>
> Best Regards
>
> Rob Tice
>
>
>
>
>
> _______________________________________________
> OAI-implementers mailing list
> List information, archives, preferences and to unsubscribe:
> http://www.openarchives.org/mailman/listinfo/oai-implementers
>

_______________________________________________
OAI-implementers mailing list
List information, archives, preferences and to unsubscribe:
http://www.openarchives.org/mailman/listinfo/oai-implementers




More information about the OAI-implementers mailing list