Hello,

I'm wondering if proai conforms to the oai-pmh spec part 2.7.1 Selective 
Harvesting and Datestamps [1]. According to the spec a request with equal from 
and until timestamps should give all records with the exact same timestamp, or 
did I misunderstood? Proai only gives empty results in that case. Here is what 
the spec says:

"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". Therefore, the from argument must be less than or 
equal to the until argument. Otherwise, a repository must issue a badArgument 
error." [1]

And here is an example from our oai-pmh endpoint:

REQUEST
oai-pmh?verb=ListRecords&metadataPrefix=oai_dc&from=2013-05-21&until=2013-05-21
ANSWER
noRecordsMatch

REQUEST
oai-pmh?verb=ListRecords&metadataPrefix=oai_dc&from=2013-05-21&until=2013-05-22
ANSWER
a list of records including records from 2013-05-21

Is the proai behaviour correct?

Best
Jan

[1]http://www.openarchives.org/OAI/openarchivesprotocol.html#SelectiveHarvestingandDatestamps

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to