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/request?verb=ListIdentifiers&from=2007-04-01&until=2007-05-15&metadataPrefix=oai_dc
works beautifully.
However this request returns error code="badArgument".
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers
Can anyone tell Keith how to fix this? Is upgrade to 1.4.2 the answer?
Or...?
-Jodi
PS-Keith, what happens if you change granularity?
i.e. in oaicat.properties change
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
to
AbstractCatalog.granularity=YYYY-MM-DD
---------- Forwarded message ----------
From: Keith Jones <[EMAIL PROTECTED]>
Date: Jun 5, 2007 3:41 PM
Subject: Re: [Dspace-tech] Problem with Data Provider Validation
To: Jodi Schneider <[EMAIL PROTECTED]>
Hi Jodi,
Thanks for the help.
At my institution we are using Postgres, would this have any effect on the
date granularity?
Are you saying that the harvester will not work, unless you are at version
1.4.2?
I've been able to get subsets if the listidentifiers working, atleast it
will work when I put in a from date but will not work if no date is
specified. I'm still getting the following error:
Code=noRecordsMatch, Description="The combination of the values of the
from, until, set, and metadataPrefix arguments results in an empty list."
With the http request of:
http://dspace.udel.edu:8080/dspace-oai/request, verb=ListIdentifiers,
metadataPrefix=oai_dc
But I can get results with the following http request
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&from=2007-04-01&metadataPrefix=oai_dc
Thanks
Keith
---------- Forwarded message ----------
From: Jodi Schneider <[EMAIL PROTECTED]>
Date: Jun 5, 2007 9:19 AM
Subject: [Dspace-tech] Problem with Data Provider Validation
To: Dspace Tech <[email protected]>
Keith,
It looks like your repository is still having this problem. I think you will
need to upgrade to 1.4.2 or change timestamp granularity.
It looks like 1.4.2 fixed a bug regarding OAI timestamps:
"The oracleTimeStampFunction did not correctly account for 20 character
length timestamps (YYYY-MM-DDTHH:mm:ssZ), incorrectly treating them as
'YYYY-MM-DDTHH:mm:ss.FFZ'."
http://sourceforge.net/tracker/index.php?func=detail&aid=1688523&group_id=19984&atid=319984
---
I compared the file you mention to my default oaicat.properties and it looks
like one block is duplicated. I wouldn't expect this to harm anything.
AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
Best luck, and apologies it took so long to figure this out!
-Jodi
Portable Citations for DSpace
On 5/29/07, Keith Jones < [EMAIL PROTECTED]> wrote:
I did not chnage anything in the oaicat.properties.
Here is my properties file:
###########################################################################
# REMEMBER: ONLY UPDATE THE VERSION IN dspace/config/templates
# AND THEN RUN dspace/bin/install-configs!
# DO NOT EDIT THE 'LIVE' VERSION!
###########################################################################
# OAICat Configuration file - see OAICat documentation for details
# Text surrounded by two '@' symbols is replaced with the corresponding
# property from dspace.cfg. For example:
#
# http://dspace.udel.edu:8080/dspace
#
# would be replaced with the dspace.url property in dspace.cfg.
# When /dspace/bin/install-configs is run, this file will be installed in
the
# location specified by the property: config.template.oaicat.properties
AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
# Custom Identify response values
Identify.repositoryName=DSpace at UD
[EMAIL PROTECTED]
Identify.earliestDatestamp=2001-01-01T00:00:00Z
Identify.deletedRecord=persistent
# List the supported metadataPrefixes along with the class that performs
the ass
ociated crosswalk
#Crosswalks.didl=org.dspace.app.oai.DIDLCrosswalk
#Crosswalks.mets= org.dspace.app.oai.METSCrosswalk
Crosswalks.oai_dc=org.dspace.app.oai.OAIDCCrosswalk
# OAI crosswalks that use crosswalk plugins. The
# metadataPrefixes must match the name of the plugin
# for interface org.dspace.content.crosswalk.DisseminationCrosswalk
# Crosswalks.mods=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.mets=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.qdc=org.dspace.app.oai.PluginCrosswalk
On Tue, 29 May 2007, Claudia Jürgen wrote:
> Hi Keith,
>
> this error occurs if the date argument is wrong
>
> e.g.
>
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&from=2007-05-02&until=2006-05-02&metadataPrefix=oai_dc
>
> having from > until
>
> did you change any basic settings, e.g. oaicat.properties
>
> Claudia
>
>
> Keith Jones schrieb:
>>
>> Hi Stuart,
>>
>> Thanks for the help. Currently my initial problem originated because I
>> did not specify the correct base url. Since correcting that problem
the
>> repository is not pass the ListIdentifiers test.
>>
>> The base url is:
>> http://dspace.udel.edu:8080/dspace-oai/request
>>
>>
>>
>> On Tue, 29 May 2007, Stuart Lewis [sdl] wrote:
>>
>>> Hi Keith,
>>>
>>> Can we see the repository, to see what errors it gives us?
>>>
>>> Thanks,
>>>
>>>
>>> Stuart
>>> _________________________________________________________________
>>>
>>> Datblygydd Cymwysiadau'r We Web Applications Developer
>>> Gwasanaethau Gwybodaeth Information Services
>>> Prifysgol Cymru Aberystwyth University of Wales Aberystwyth
>>>
>>> E-bost / E-mail: [EMAIL PROTECTED]
>>> Ffon / Tel: (01970) 622860
>>> _________________________________________________________________
>>>
>>>
>>>
>>> On 29/5/07 16:20, "Keith Jones" <[EMAIL PROTECTED] > wrote:
>>>
>>>>
>>>> Hi Claudia,
>>>>
>>>> Yes,
>>>>
>>>> I used both sites and both are reporting and error in the XML
returned.
>>>>
>>>> The VlaidateSite failed on the return of the ?verb=Identify call.
>>>>
>>>> And the explorer site returned and error for all the test.
>>>>
>>>>
>>>>
>>>> On Tue, 29 May 2007, Claudia Jürgen wrote:
>>>>
>>>>> Hi Keith,
>>>>>
>>>>> did you use the OAI Validation tool:
>>>>> http://www.openarchives.org/Register/ValidateSite
>>>>>
>>>>> or the repository explorer http://re.cs.uct.ac.za/ ?
>>>>>
>>>>> Claudia
>>>>>
>>>>>
>>>>> Keith Jones schrieb:
>>>>>> Hello,
>>>>>>
>>>>>> We are running DSpace version 1.4.1 , and we want to register
our
>>>>>> repository as a OAI data provider. I went to register but am
>>>>>> unable to
>>>>>> because of the following error:
>>>>>>
>>>>>> Malformed response: mismatched tag at line 11, column 62, byte 1114
>>>>>>
>>>>>> We are sending back malformed XML when requests are being made.
>>>>>>
>>>>>> Any help with this would be appreciated.
>>>>>>
>>>>>> Thanks
>>>>>> Keith
>>>>>>
>>>>>>
-------------------------------------------------------------------------
>>>>>>
>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>> _______________________________________________
>>>>>> DSpace-tech mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>>
>>>
>>>
>>>
-------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>
>>
------------------------------------------------------------------------
>>
>>
-------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>>
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech