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

2015-08-27 16:52 GMT+03:00 Galen Charlton <g...@esilibrary.com>:

> Hi,
>
> On Thu, Aug 27, 2015 at 9:41 AM, Sergio Letuche <code4libus...@gmail.com>
> wrote:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <collection  xmlns="http://www.loc.gov/MARC21/slim";>
> > <record>
>
> OK, that's what I'd expect from a MARC21slim MARCXML file.  Since you
> say the file is valid, try comparing it against the schema.  This
> could be done like this:
>
> curl http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd >
> MARC21slim.xsd
> xmllint --noout --schema MARC21slim.xsd INPUTFILE
>
> Regards,
>
> Galen
> --
> Galen Charlton
> Infrastructure and Added Services Manager
> Equinox Software, Inc. / The Open Source Experts
> email:  g...@esilibrary.com
> 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
>

Reply via email to