[OPEN-ILS-DEV] Error on editing MARC record

Mike Rylander mrylander at gmail.com
Fri Nov 7 08:09:24 EST 2008


On Fri, Nov 7, 2008 at 5:23 AM, Lindsay Wicomb
<lindsay.wicomb at bdsolutions.co.za> wrote:
>
>
> Hi Dan.
>
> I ran the SQL string and received the following output:
>
>  marc
> ------
>
> (1 row)
>
> Any suggestions regarding what other areas to look at in terms of the
> Evergreen system that might be causing this problem?


There is an intentionally "empty" record there, with an id of -1.
You'll want to use the SQL:

SELECT marc FROM biblio.record_entry WHERE id > -1 LIMIT 1;

--miker

>
> Thanks
>
>
>> This sounds vaguely familiar - I believe there were fixes for
>> MARC21XML namespaces and the like (with complications depending on the
>> underlying versions of libxml2 and the corresponding Perl modules for
>> XML handling) post-1.2.3.0. Can you extract a sample record from
>> biblio.record_entry and attach or paste it inline?
>
>> Issuing the following command in psql should do the trick:
>
>> SELECT marc FROM biblio.record_entry LIMIT 1;
>
>> Here's an example of MARC21XML from Evergreen trunk on Ubuntu Hardy
>> (snipped because this is enough to get an idea):
>
>> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns="http://www.loc.gov/MARC21/slim"
>> xmlns:marc="http://www.loc.gov/MARC21/slim"
>> xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/
>> standards/marcxml/schema/MARC21slim.xsd">
>>  <leader>01181cjm  22002533a 4500</leader>
>>  <controlfield tag="001">13724622</controlfield>
>>  <controlfield tag="005">20081105193657.0</controlfield>
>>  <controlfield tag="007">sd fsngnnmmned</controlfield>
>>  <controlfield tag="008">040920s2002    xxuuun              > >
>> eng</controlfield>
>
>> --
>> Dan Scott
>> Laurentian University
>
>



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