lib/marc_cleanup/bib_rubymarc_fixes.rb
def recap_fixes(record)
    record = bad_utf8_fix(record)
    record = field_delete(['959'], record)
    record = field_delete(['856'], record)
    record = leaderfix(record)
    record = extra_space_fix(record)
    record = invalid_xml_fix(record)
    record = composed_chars_normalize(record)
    record = tab_newline_fix(record)
    record = empty_subfield_fix(record)
    record
  end
### Replaces obsolete values with the current value;
#     if encoding level, cataloging form or multipart indicators
#     are outside accepted values, replace them with 'unknown'
#     normalize the indicator length and subfield code length to 2;
#     make the last 4 positions the only possible value of '4500'
Replaces obsolete values with the current value;
if encoding level, cataloging form or multipart indicators
are outside accepted values, replace them with 'unknown'
normalize the indicator length and subfield code length to 2;
make the last 4 positions the only possible value of '4500'
Replaces obsolete values with the current value ; if encoding level cataloging form or multipart indicators are outside accepted values replace them with ' unknown ' normalize the indicator length and subfield code length to 2 ; make the last 4 positions the only possible value of ' 4500 '
def recap_fixes(record)
    record = bad_utf8_fix(record)
    record = field_delete(['959'], record)
    record = field_delete(['856'], record)
    record = leaderfix(record)
    record = extra_space_fix(record)
    record = invalid_xml_fix(record)
    record = composed_chars_normalize(record)
    record = tab_newline_fix(record)
    record = empty_subfield_fix(record)
    record
  end
def recap_fixes ( record ) record = bad_utf8_fix ( record ) record = field_delete ( [ '959' ] , record ) record = field_delete ( [ '856' ] , record ) record = leaderfix ( record ) record = extra_space_fix ( record ) record = invalid_xml_fix ( record ) record = composed_chars_normalize ( record ) record = tab_newline_fix ( record ) record = empty_subfield_fix ( record ) record end
Replaces obsolete values with the current value;
if encoding level, cataloging form or multipart indicators
are outside accepted values, replace them with 'unknown'
normalize the indicator length and subfield code length to 2;
make the last 4 positions the only possible value of '4500'
Replaces obsolete values with the current value ; if encoding level cataloging form or multipart indicators are outside accepted values replace them with ' unknown ' normalize the indicator length and subfield code length to 2 ; make the last 4 positions the only possible value of ' 4500 '
record