[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
[1]
https://github.com/perl4lib/marc-perl/blob/e0de885347ad12bad129d467e603b25a03d88a73/marc-record/lib/MARC/Field.pm#L108
More information about the librecat-dev
mailing list