-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make encode-marc21 validation optional or optionally less strict #567
Comments
Also the marcxml schema is less strict than the marc21 specification from LOC: https://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd Leader has to have 24 characters but the regex is the following: |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I would suggest an option |
you mean |
you are correct! is there any additional metadata beside the leader that is validated? |
Well, yes - somehow the input must be structurally representable as MARC...
Of course we could also ignore that. Sparks the question: When is MARC MARC and when it isn't anymore? |
Currently the marc encoder only serializes to marc21 if a lot of validations are true.
Hbz/Verbundgruppe has a use case where for the it is more important to change the form from marcxml to marc21 than having valid marc21.
The transformation breaks if the data is not valid at the moment.
I therefore suggest to make the validation of the leader and controllfields optional.
The text was updated successfully, but these errors were encountered: