Open nichtich opened 5 months ago
I've started to implement this but
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 codes