[OPEN-ILS-DEV] problems running the import demo on my own data

John Fink john.fink at gmail.com
Mon Jan 19 16:15:25 EST 2009


Never mind, at least re: this step in the import holdings process.  I'm
using a standard MARC file and the bre conversion process appears to be
going okay.

jf

On Mon, Jan 19, 2009 at 3:52 PM, John Fink <john.fink at gmail.com> wrote:

> Hey folks,
>
> I'm trying to run through the import demo stuff again, only this time using
> my own data instead of the data that comes in the tarball.  The first step,
> marc2bre.pl, fails with no errors and no output.  Poking in the xml files
> for both the demo data and my own, they look pretty different.  Here's the
> beginning of the demo data:
>
> >
>   <datafield tag="035" ind1=" " ind2=" ">
>     <subfield code="a">(Sirsi) a778670</subfield>
>   </datafield>
>   <datafield tag="100" ind1="1" ind2=" ">
>     <subfield code="a">Ontario.</subfield>
>     <subfield code=" ">Écoles secondaires publiques de langue
> française</subfiel
> d>
>
> And here's the beginning of mine:
>
> <?xml version="1.0" encoding="UTF-8" ?><marc:collection xmlns:marc="
> http://www.l
> oc.gov/MARC21/slim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:sc
> hemaLocation="http://www.loc.gov/MARC21/slim
> http://www.loc.gov/standards/marcxm
> l/schema/MARC21slim.xsd">
> <marc:record><marc:leader>00937nam a2200289 a 4500</marc:leader>
> <marc:controlfield tag="001">1</marc:controlfield>
> <marc:controlfield
> tag="005">19970717144400.0</marc:controlfield><marc:controlfi
> eld tag="008">800623s1979    mau   a     b 00110 eng
> </marc:controlfield><marc:
> datafield tag="010" ind1=" " ind2=" "><marc:subfield code="a">   79004570
> </marc
> :subfield></marc:datafield><marc:datafield tag="020" ind1=" " ind2="
> "><marc:sub
> field code="a">0805792643</marc:subfield></marc:datafield><marc:datafield
> tag="0
> 35" ind1=" " ind2=" "><marc:subfield
> code="a">(CaOTULAS)12450001.</marc:subfield
> ></marc:datafield><marc:datafield tag="040" ind1=" " ind2="
> "><marc:subfield cod
> e="a">LC</marc:subfield></marc:datafield><marc:datafield tag="050" ind1=" "
> ind2
>
> (etc etc etc)
>
> It looks like my own marc data is properly formed XML, so I'm not sure why
> marc2bre is choking on it.  Although the demo data does look a *lot*
> different, doesn't it?  Am I missing something stupendously obvious?
>
> jf
>
>
> --
> http://libgrunt.blogspot.com -- library culture and technology.
>



-- 
http://libgrunt.blogspot.com -- library culture and technology.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090119/f3e7df04/attachment.htm 


More information about the Open-ils-dev mailing list