[librecat-dev] Handling/ignoring MARC errors
Patrick.Hochstenbach at UGent.be
Mon Jul 3 10:35:43 CEST 2017
Catmandu::MARC should handle these cases (which it doesn’t now). Indeed Catmandu::MARC uses Marc::File::XML but Catmandu::OAI doesn’t.
I created a ticket for this:
> On 3 Jul 2017, at 10:21, Dan Michael O. Heggø <d.m.heggo at ub.uio.no> wrote:
> When trying to import a MARC XML file, the program dies with:
> Field 080 must have at least one subfield at
> /usr/local/share/perl5/MARC/File/XML.pm line 483. 
> What's a good strategy for ignoring or catching such errors? When
> importing the same MARC directly from OAI using the marcxml handler, I
> don't get any errors, but if I understand it right, the Catmandu-OAI
> package doesn't use Marc::File::XML?
> Perhaps this is really a question for the per4lib list, but I wanted to
> check here first in case this is something that could/should be handled
> with Catmandu-MARC.
> Dan Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 455 bytes
Desc: Message signed with OpenPGP
More information about the librecat-dev