If numberOfRecords is something like 10, 20, 30 ... and maximumRecords ist set to 10, then a SRU DIAGNOSTIC Error is thrown: First record position out of range.
catmandu convert SRU --base http://sru.gbv.de/opac-de-1 --query 'pica.xddc=918' --recordSchema picaxml --parser picaxml
SRU DIAGNOSTIC: First record position out of range : at /srv/zdb/prod/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/Catmandu/Importer/SRU.pm line 193.
I think this happens when the Importer tries to query beyond numberOfRecords, like in case of numberOfRecords = 30 and startRecord=31:
If numberOfRecords is something like 10, 20, 30 ... and maximumRecords ist set to 10, then a SRU DIAGNOSTIC Error is thrown: First record position out of range.
I think this happens when the Importer tries to query beyond numberOfRecords, like in case of numberOfRecords = 30 and startRecord=31:
See https://github.com/LibreCat/Catmandu-SRU/blob/master/lib/Catmandu/Importer/SRU.pm#L216