[Koha-devel] MARC::Record, record length and leader

Julian Maurice julian.maurice at biblibre.com
Fri May 4 16:38:43 CEST 2012


Le 11/04/2012 09:40, Julian Maurice a écrit :
> It's not really about ISO-2709 format (afaik, MARCXML has the same
> problem, leader must be 24 characters long), it's about MARC. And we are
> using it internally through MARC::Record.
> As we already have invalid MARC records (ie. longer than 99999 bytes),
> and we want to keep the records as is, I think we should at least have a
> well-formed (but invalid) leader with first five characters being
> '99999', since sixth character will never be read to get the record
> length anyway.
> What do you think?

In order to close this discussion, I created a ticket on rt.cpan.org 
(https://rt.cpan.org/Public/Bug/Display.html?id=76990) and attached a 
patch to force record length to not be greater than 99999 in the leader.

-- 
Julian Maurice <julian.maurice at biblibre.com>
BibLibre


More information about the Koha-devel mailing list