Kevin, thanks. It works with one file as long as it is wrapped in
"<collection></collection>", which isn't there in the MARCXML output
from the catalog2. I'll add that in. I assume that you were adding the
<collection> around the three files when you ran them. Single records
that I had converted in MARCEdit and that ran through the program did
have the <collection> around the <record>.
I will now make everything a collection.
kc
On 12/9/12 3:15 PM, Kevin Ford wrote:
> > Some records are not making it through the marc2bibframe program
> -- All: Karen is referring to the Python, I think. There are
> technically two "programs." One in Python and one in XQuery.
>
> Karen, try adding the three files into a single MARC/XML file thereby
> creating a "collection" of MARC/XML records. It probably *should* work
> on a single MARC record, but was probably never, ever run with just 1
> single MARC/XML record. I put the three into one file and it ran
> without problems.
>
> For an example of a MARC/XML collection, see:
>
> http://www.loc.gov/standards/marcxml/xml/collection.xml
>
> Yours,
>
> Kevin
>
>
>
> On 12/09/2012 04:47 PM, Karen Coyle wrote:
>> I should have waited until I figured out what to do, but I'm now putting
>> various examples at:
>>
>> http://kcoyle.net/bibframe/
>>
>> Some records are not making it through the marc2bibframe program -- I've
>> sent some examples to Kevin. (Oddly, Popes seem to be a problem :-))
>>
>> I accept suggestions for record types and situations. Ideally, send me
>> an LCCN or an actual MARCXML record.
>>
>> kc
>>
>> On 12/9/12 6:31 AM, Karen Coyle wrote:
>>> I've made a stab at creating an easier to read display of the input
>>> and output from the MARC2BIBFRAME program -- only semi-successful, I
>>> must say. It's still a matter of reading code.
>>>
>>> http://kcoyle.net/BFbook.html
>>>
>>> I put the BIBFRAME output in this order:
>>> - work
>>> - instance
>>> - objects
>>>
>>> If I'm not mistaken, the "objects" section corresponds to the
>>> "authorities" bubbles in the diagram.
>>>
>>> kc
>>>
>>
--
Karen Coyle
[log in to unmask] http://kcoyle.net
ph: 1-510-540-7596
m: 1-510-435-8234
skype: kcoylenet
|