[OAI-implementers] Re: OAI validation question
Mon, 9 Jun 2003 23:57:00 -0400 (EDT)
(I'm cc'ing th respone to oai-implemeters, the best place for such
On Tue, 10 Jun 2003, Steve Thomas wrote:
> I'm trying to get my repository script to validate, and I have
> it down to one error:
> Response to this request did not give error code 'badArgument':
There should be a badArgument error because you have both a
resumptionToken and metadataPrefix/until arguments. resumptionToken is an
exclusive argument so the metadataPrefix/until arguments are not allowed
in the same request. (see
for explanation of exclusive argument)
> Problem is, I can't see what's wrong with that. My script
> returns this:
> <OAI-PMH ... >
> <request verb="ListRecords" until="1990-01-10"
> resumptionToken="junk" metadataPrefix="oai_dc">
> <error code="badResumptionToken"/>
> which should be OK, no?
Note also that when there is a badArgument error, you must not include the
attributes in the <request> element.
> I don't see where there's a badArgument in the request, unless
> its the 'until' date (because I support the date+time
> granularity -- but then the spec says I have to support date-only).
> Can someone tell me where I'm going wrong here?