[librecat-dev] Handling/ignoring MARC errors

"Dan Michael O. Heggø" d.m.heggo at ub.uio.no
Mon Jul 3 10:21:01 CEST 2017

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. [1]

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


More information about the librecat-dev mailing list