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

Mike Rylander mrylander at gmail.com
Tue Mar 16 11:00:50 EDT 2010


On Tue, Mar 16, 2010 at 9:49 AM, Galen Charlton <gmc at esilibrary.com> wrote:
> 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.
>

Improved patch committed.  Thanks again!

--miker

>
>
> 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!
>
>
>
> 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/
>
>
>



-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list