Closed wrznr closed 3 years ago
Some libraries use non-iso-conform languages codes (e.g. lat for Latin in https://content.staatsbibliothek-berlin.de/dc/PPN647473836.mets.xml) This PR adds exception handling for UnknownLocaleError and some testing to increase general test coverage.
UnknownLocaleError
Fixes https://github.com/slub/mets-mods2tei/issues/47
Some libraries use non-iso-conform languages codes (e.g. lat for Latin in https://content.staatsbibliothek-berlin.de/dc/PPN647473836.mets.xml) This PR adds exception handling for
UnknownLocaleError
and some testing to increase general test coverage.Fixes https://github.com/slub/mets-mods2tei/issues/47