[OPEN-ILS-DEV] [PATCH] remove empty controlfields, datafields, and subfields

Galen Charlton gmc at esilibrary.com
Tue Mar 16 10:49:32 EDT 2010


Hi,

Remove all empty MARC subfield, control fields, and variable data fields when ingesting a bib record, where empty is defined as:

* a control field or subfield that contains nothing or only whitespace
* a variable data field that has no subfields

Note that while in principle an ISO2709 subfield could contain nothing but whitespace, no known subfield defined in MARC21 or UNIMARC permits that.



Equinox will be at the 2010 Public Library Association
Conference in Portland, Oregon, March 23-27.
Please come by and see us in booth #1407!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more_complete_empty_node_deletion.patch
Type: application/octet-stream
Size: 2027 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100316/c4e674fd/attachment.obj 
-------------- next part --------------



Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>


--
Galen Charlton
VP, Data Services
Equinox Software, Inc. / Your Library's Guide to Open Source
email:  gmc at esilibrary.com
direct: +1 352-215-7548
skype:  gmcharlt
web:    http://www.esilibrary.com/



More information about the Open-ils-dev mailing list