// This marc file has three records, but the first one
// is too long for a marc binary record. Can we still read
// the next two?
MarcReader reader = new MarcPermissiveStreamReader(input, true, true);
Record bad_record = reader.next();
// Bad record is a total loss, don't even bother trying to read
// it, but do we get the good records next?
Record good_record1 = reader.next();
ControlField good001 = good_record1.getControlNumberField();
assertEquals(good001.getData(), "360945");
Record good_record2 = reader.next();
good001 = good_record2.getControlNumberField();
assertEquals(good001.getData(), "360946");
}