In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them.
(http://www.ietf.org/rfc/rfc5023.txt -> 10.1. Collection Partial Lists)
If i now try to list the collection, then i only get mods_00000001 and mods_00000002. The API only respects the current document and ignores the next link.
// col = http://localhost:8291/sword2/col/DefaultModsCollection
final CollectionEntries collectionEntries = client.listCollection(col);
collectionEntries.getEntries().forEach(e-> {
System.out.println(e.getTitle() + "[" + e.getId() + "]");
});
Should the API handle this or should the user of JavaClient handle this ?
Is it unusual to do this in SwordV2 ?
In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them. (http://www.ietf.org/rfc/rfc5023.txt -> 10.1. Collection Partial Lists)
My Col-IRI looks like this:
For testing i have a limit of 2 entrys. If i make a second request:
If i now try to list the collection, then i only get mods_00000001 and mods_00000002. The API only respects the current document and ignores the next link.
Should the API handle this or should the user of JavaClient handle this ? Is it unusual to do this in SwordV2 ?