You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Field 086, 130, 222, 240, 242, 243, 245, 440, 630, 730, 740, and 830 have indicator definition with codes 0-9 or 1-9, e.g. this. It's a verbatim copy from MARC 21 specification but the actual codes are each of 0,1,2,3...9 instead of the sequence 0-9 or 1-9 (an indicator is only one character anyway). I wonder this has not shown up before on validation.
Solutions:
either explicitly list 0 to 9
or use a pattern ([0-9]) instead of codes
The text was updated successfully, but these errors were encountered:
changing src/main/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag245.java indicator codes to pattern will make src/test/java/de/gwdg/metadataqa/marc/definition/tags/tags20x/Tag245Test.java fail. I think resolveIndicator in src/main/java/de/gwdg/metadataqa/marc/dao/DataField.java needs to be extended to also handle indicator definitions with pattern.
Field 086, 130, 222, 240, 242, 243, 245, 440, 630, 730, 740, and 830 have indicator definition with codes
0-9
or1-9
, e.g. this. It's a verbatim copy from MARC 21 specification but the actual codes are each of 0,1,2,3...9 instead of the sequence0-9
or1-9
(an indicator is only one character anyway). I wonder this has not shown up before on validation.Solutions:
[0-9]
) instead of codesThe text was updated successfully, but these errors were encountered: