DSpace / xoai

OAI-PMH Java Toolkit
29 stars 52 forks source link

Fixes the numbering scheme in the XOAI resumption token cursor #81

Closed landreev closed 2 years ago

landreev commented 2 years ago

copy-and-pasting from #30:

The OAI spec says the cursor position should start with 0; the XOAI implementation starts with 1. I.e., currently the resumption token under the 1st page of results looks like this:

<resumptionToken cursor="1">
   MToxMDB8Mjp8Mzp8NDp8NTpvYWlfZGM=
</resumptionToken>

It should instead say cursor="0" etc.