Hi Rafa,

Which version of DSpace do you use? The reason I ask is that the code which
generates the relevant SQL query for your OAI-PMH request changed
dramatically between 1.3.* and 1.4, and I don't know what tests were run on
the 1.4 version (there was a small bug which slipped through with the
postgres version of date handling in OAI-PMH which got fixed in 1.4.1, so a
similar small bug may have slipped through the net with Oracle).

If you can tell me, then we can look into finding the problem. My guess
would be the method in Harvest.java which converts datestamps for the SQL.

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 6/3/07 08:29, "Rafa" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> testing dspace-oai my dspace does something strange. It works with some
> particular verbs such as Identify, ListSets or Listmetada, but not with
> GetRecord or ListRecords. When I try these two I get an Oracle error
> (ORA-01858 - a non-numeric character was found where a numeric was
> expected). But, if I modify the granularity in
> [dspace]/config/oaicat.properties (via
> [dspace]/config/templates/oaicat.properties) from
> AbstractCatalog.granularity=YYYY-MM--DDThh:mm:ssZ to
> AbstractCatalog.granularity=YYYY-MM-DD it works well! What's the problem
> then? Just when I try to make my dspace pass the oaister register tests,
> it informs that the granularity isn“t correct:
> 
> 'Datestamp in GetRecord response (2007-02-21T10:17:00Z) is not consistent
> with the days granularity specified in the Identify response'
> 
> 
> 
> Any idea? TIA
> 
> 
> Rafa Carreres
> University of Alicante
> Spain
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to