Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Graham Triggs
; <[EMAIL PROTECTED]>; "Dspace Tech" Sent: Wednesday, June 06, 2007 8:24 PM Subject: Re: [Dspace-tech] Fwd: Problem with Data Provider Validation Hi Graham, I in agreement that the code is working as specified. My problem occured when I tried to register my Dspace instance

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Stuart Lewis [sdl]
Hi Keith, Any chance you could install this patch, and try again: http://sourceforge.net/tracker/index.php?func=detail&aid=1659868&group_id=19 984&atid=319984 The patch gives better database debugging, as it replaces the '?' in the log file with the actual values given. We can then see the actua

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones
Hi Graham, I in agreement that the code is working as specified. My problem occured when I tried to register my Dspace instance with the official Open Archives registry. The registry send a listIdentifiers request with no from date specified. As such my dspace instance has failed to pass th

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones
On Wed, 6 Jun 2007, Jodi Schneider wrote: >> > PS-Keith, what happens if you change granularity? >> > i.e. in oaicat.properties change >> > AbstractCatalog.granularity=-MM-DDThh:mm:ssZ >> > to >> > AbstractCatalog.granularity=-MM-DD Hi Jodi, I did make the change suggested above, but

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones
Thanks for the additional input. I turned on debug and here is what output I am getting in the log file. 2007-06-06 14:47:48,393 INFO org.dspace.app.oai.DSpaceOAICatalog @ anonymous:no _context:oai_request:verb=listIdentifiers,from=0001-01-01T00:00:00Z,until=-1 2-31T23:59:59Z,set=null,met

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Jodi Schneider
If there is no date range specified, all records with the specified metadataPrefix must be returned by protocol section 2.7.1: http://www.openarchives.org/OAI/openarchivesprotocol.html#SelectiveHarvestingandDatestamps "Harvesting is restricted to the range specified by the from and untilarguments,

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Graham Triggs
Not really. The badArgument is valid when you don't specify a metadataPrefix, and the noRecordsMatch error is valid when there are no records that match the date range specified. If you simply include a from timestamp, eg: http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&metada

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-05 Thread Stuart Lewis [sdl]
Hi Jodi / Keith, > However this request returns error code="badArgument". > http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers The 'badArgument' occurs because you need to specify which format you want the metadata in. So the following works: http://dspace.udel.edu:8080/dspace-

[Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-05 Thread Jodi Schneider
Forwarding this back out to the list for better answers to Keith's questions. http://sourceforge.net/tracker/index.php?func=detail&aid=1688523&group_id=19984&atid=319984 mentions the TimeStamp function of *Oracle*. Is the bug also applicable to Postgres? http://dspace.udel.edu:8080/dspace-oai/r