Hi,
On Thu, Aug 27, 2015 at 10:03 AM, Sergio Letuche
<[log in to unmask]> wrote:
> many kudos for the quick response, and the valuable advice
>
> i get many many times this...
>
> element datafield: Schemas validity error : Element '{
> http://www.loc.gov/MARC21/slim}datafield': This element is not expected.
> Expected is ( {http://www.loc.gov/MARC21/slim}leader ).
Sounds like some or all of the records lack a leader element, and that
would lead to the "yaz_marc_read_xml failed" you've been seeing.
Making sure that each record starts with a leader element along the
lines of
<leader>00000 a2200000 4500</leader>
might get yaz-marcdump to emit ISO2709 records. However, for those to
be useful, you'll likely want to set positions 5, 6, and 7 in the
leader to values that make sense for the type of records you're
dealing with.
Regards,
Galen
--
Galen Charlton
Infrastructure and Added Services Manager
Equinox Software, Inc. / The Open Source Experts
email: [log in to unmask]
direct: +1 770-709-5581
cell: +1 404-984-4366
skype: gmcharlt
web: http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org
|