[OAI-implementers] Re: Problem with Repository Explorer

Hussein Suleman hussein@vt.edu
Mon, 03 Jun 2002 19:16:16 -0400


hi

i suppose this is a question of interpretation.

the spec says "noRecordsMatch- The combination of the values of the 
from, until , and set arguments results in an empty list"

now, if from>until and both are independently legal dates, then in a 
set-theoretic sense the combination of these parameters results in an 
empty set. thus, the re expects to find "noRecordsMatch".

does this make sense ? or should i be accepting both errors (the other 
being badArgument) ?

ttfn,
----hussein

cc: oai-implementors: if anyone does not agree with this interpretation, 
now would be a good time to mention it :)

Yuping Tseng wrote:

> Hi,
> 
> I am the research programmer of UIUC OAI Project.
> We are testing our 2.0 data provider
> (http://bolder.grainger.uiuc.edu/uiLibOAIProvider/2.0/oai.asp) against the
> 2.0 Repository Explorer right now.
> Here is the only error we have:
> 
> (12) Testing : ListIdentifiers (oai_dc, from > until)
> URL :
> http://bolder.grainger.uiuc.edu/uiLibOAIProvider/2.0/oai.asp?verb=ListIdenti
> fiers&metadataPrefix=oai_dc&from=2000-01-01&until=1999-01-01
> ------ Start of XML Response ------
> <?xml version='1.0' encoding='UTF-8'?>
> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
> http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
> 	<responseDate>2002-05-30T16:11:09Z</responseDate>
> 	<request
> verb="ListIdentifiers">http://bolder.grainger.uiuc.edu/uiLibOAIProvider/2.0/
> oai.asp</request>
> 	<error code="badArgument">'from' is greater than 'until'.</error>
> </OAI-PMH> ------- End of XML Response -------
> Test Result : FAIL!
> **** [ERROR] Cannot find container corresponding to the verb :
> ListIdentifiers
> 
> 
> According to the protocol, I can't see anything wrong with the response. Is
> there anything missing here or there's something wrong with the repository
> explorer?
> 
> Thanks for the help!
> 
> Yuping Tseng
> Visiting Research Programmer
> OAI Metadata Harvesting Project
> 052 Grainger Engineering Library MC-274
> ytseng1@uiuc.edu
> (217)244-7809
> 


-- 
======================================================================
hussein suleman - hussein@vt.edu - vtcs - http://www.husseinsspace.com
======================================================================