|
From: | vincent Leconte |
Subject: | [sdx-users] OAI : ListRecords vide si from et until sont egaux |
Date: | Tue, 02 Sep 2008 17:11:55 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Bonjour,Si je fais une requête OAI de type http://MonServeur/oai?verb=ListRecords&from=2008-08-13T06:59:35Z&until=2008-08-13T06:59:35Z&metadataPrefix=oai_dc <http://MonServeur/oai?verb=ListRecords&from=2008-08-13T06:59:35Z&until=2008-08-13T06:59:35Z&metadataPrefix=oai_dc> l'entrepôt sdx me renvoi une erreur noRecordsMatch contenant "/The combination of the values of the from '2008-08-13T06:59:35Z', until '2008-08-13T06:59:35Z', set 'null', and metadataPrefix 'oai_dc' arguments results in an empty list/".
Or, il existe plusieurs documents avec un datestamp égale à 2008-08-13T06:59:35Z dans cet entrepôt. De plus les préconisations du protocole OAI disent bien que les paramétres from et until doivent être inclusifs : "/Range limits are inclusive: |from| specifies a bound that *must* be interpreted as 'greater than or equal to', |until| specifies a bound that *must* be interpreted as 'less than or equal to'./" ( http://www.openarchives.org/OAI/openarchivesprotocol.html#SelectiveHarvestingandDatestamps ) ..
Ce problème pourrait paraître anecdotique mais certains outils automatiques de validation d'entrepôt OAI font ce genre de requête et du coup c'est bloquant.
Merci d'avance pour vos réponses, Vincent Leconte
[Prev in Thread] | Current Thread | [Next in Thread] |