This is an automated notification sent by LCG Savannah.
It relates to:
                bugs #60507, project CDS Invenio

==============================================================================
 OVERVIEW of bugs #60507:
==============================================================================

URL:
  <http://savannah.cern.ch/bugs/?60507>

                 Summary: bibupload fails on valid MarcXML
                 Project: CDS Invenio
            Submitted by: arwagner
            Submitted on: 2009-12-11 12:12
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________


Hi!

To upload some items to our current test system I had to do some small
adjustments of the incoming data. I did these by a simple XSLT that added
some fields and moved others and while I'm at it I also added 980__ with the
collection id. Running throuhg the XSLT-processor produced new datafields
like this:

<marc:datafield xmlns:marc="http://www.loc.gov/MARC21/slim"; tag="980" ind1="
" ind2=" ">
       <marc:subfield code="a">Bibliothekskatalog</marc:subfield>
</marc:datafield>


These fields, however, are not recognised by bibupload, that is I ended up
with a bunch of records not containing the 980 field. Additionally, all other
fiels I reworked/added via XSLT being of the same form were silently lost.

For a work arround one could either process the records trough a simple Perl
script to remove the explict namespaces or transform them by means of LoC's
MarcXML-Toolkit once to mrc and back to MarcXML. 

Note, however, that LoC considers records with missing 001 as invalid and is
not able to process them while on the other end bibupload will not -i records
that have a 001 attached. Therefore, the processing twice trough the
MarcXML-Toolkit requires the removal of 001 as a last step.

cu
Alexander Wagner



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
6193                                | -SUB-




==============================================================================

This item URL is:
  <http://savannah.cern.ch/bugs/?60507>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

Reply via email to