LibreCat / Catmandu-SRU

Catmandu module for working with SRU data.
https://metacpan.org/release/Catmandu-SRU
5 stars 5 forks source link

fix multiple harvesting of first record set #10

Closed jorol closed 10 years ago

jorol commented 10 years ago

Bug: first result set is imported two times

$ curl "http://..." | grep -o "<numberOfRecords>.*</numberOfRecords>"
<numberOfRecords>23</numberOfRecords>
$ catmandu convert -v --base http://... --query "soil and biology" --recordSchema MARC21-xml
converted 33 objects
done

Fixed bug, added test and moved XML files to /t/files.