https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21109
Bug ID: 21109
Summary: oai.pl returns invalid resumptionToken cursor
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P4
Component: Web services
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Blocks: 21102
Tested with https://github.com/zimeon/oaipmh-validator
and curl -s "baseURL?verb=ListRecords&metadataPrefix=oai_dc" | xmllint --format
- | grep resumptionToken
### Checking for correct use of resumptionToken (if used)
REQUEST: baseURL?verb=ListRecords&metadataPrefix=oai_dc GET
FAIL: A cursor value was supplied with the resumptionToken but it did not
have the correct value zero for the first response. The value was '50'.
This value is OAI-PMH:MaxCount syspref.
_cursor_ indicate the number of previous replies have already delivered:
"cursor -- a count of the number of elements of the complete list thus far
returned (i.e. cursor starts at 0)."
See https://www.openarchives.org/OAI/openarchivesprotocol.html#FlowControl
See
https://www.openarchives.org/OAI/2.0/guidelines-harvester.htm#resumptionToken
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21102
[Bug 21102] OAI-PMH specification conformance [UMBRELLA]
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/