[OAI-implementers] Lists/Flow-control/Emptiness - correction
Tim Brody
tim@tim.brody.btinternet.co.uk
Tue, 16 Jul 2002 13:00:22 +0100
(just in case anybody used the previous pseudo-code ...)
loop {
add record OR
(add resumption token & break loop)
}
if( no records ) {
if( CGI resumption token ) {
error noRecordsMatch ("no records match resumption token")
error badResumptionToken ("because it doesn't match any records")
} else {
error noRecordsMatch
}
<< } else if( no resumption Token ) {
>> } else if( no resumption Token && CGI resumption token ) {
add empty token
}
Regards,
Tim.