[OAI-implementers] name value pair question

Simeon Warner simeon at cs.cornell.edu
Thu Dec 8 09:36:50 EST 2005

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

"from=" would likely be interpreted as a from date that is a null string
and thus give a badArgument error, e.g:


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

More information about the OAI-implementers mailing list