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

Dan Scott denials at gmail.com
Wed Nov 5 14:41:45 EST 2008


2008/11/5 Marcel Berteler <marcel.berteler at bdsolutions.co.za>:
> That would be really weird as the staff client is running on the actual
> server.....
>
> I will check with the person who set it up. maybe he can shed some light on
> this.
>
> Regards,
>
> Marcel Berteler
>
> Chief Information Officer
>
> "May the source be with you"
>
> Website: http://www.bdsolutions.co.za
> Email Legal Notice: http://www.bdsolutions.co.za/legal/
>
>
>
>
> Jason Etheridge wrote the following on 2008/11/05 17:07:
>
> On Wed, Nov 5, 2008 at 8:56 AM, Marcel Berteler
> <marcel.berteler at bdsolutions.co.za> wrote:
>
>
> /FIXME.MARC editor, my_init: SyntaxError: missing =XML attribute/
> Any idea what the problem could be?
>
>
> Hi Marcel, is there a transparent proxy between your client and
> server?  Do you get such an error if you edit a record on
> demo.gapines.org?  I've seen proxies cause this, but I haven't yet
> figured out how they're doing it.
>
>

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


More information about the Open-ils-dev mailing list