[Koha] invalid marcxml

tunix at tuxflow.de tunix at tuxflow.de
Thu May 14 04:24:10 NZST 2020


We have a problem with our MARCXML data in KOHA. The order of the fields 
must be changed for many records. The problem affects all records that 
are newly created or changed by us. All <datafield> elements must appear 
after the <controlfield> elements. So far the <datafield> element with 
the unique ID of the record (MARC field 999 $c) is placed before the 
<controlfield> elements. The wrong order violates the MARCXML guidelines.


before editing:

<leader>00996xxx x22002417x 4200</leader>
<controlfield tag="001">23330</controlfield>
<controlfield tag="003">DE-1278</controlfield>
<controlfield tag="007">t|</controlfield>
<controlfield tag="008">161220s2002 xxu||||| |||| 00| 0 ger d</controlfield>
<datafield tag="020" ind1=" " ind2=" ">
<subfield code="a">3-89012-956-0</subfield>
<subfield code="c">51,00 &#x80;</subfield>
</datafield>

after editing:

<leader>01059xxx x2200265x 4200</leader>
<datafield tag="999" ind1=" " ind2=" ">
<subfield code="c">9911</subfield>
<subfield code="d">9911</subfield>
</datafield>
<controlfield tag="001">23330</controlfield>
<controlfield tag="003">DE-1278</controlfield>
<controlfield tag="005">20190604142304.0</controlfield>
<controlfield tag="007">t|</controlfield>
<controlfield tag="008">161220s2002 xxu||||| |||| 00| 0 ger d</controlfield>
<datafield tag="020" ind1=" " ind2=" ">
<subfield code="a">3-89012-956-0</subfield>
<subfield code="c">51,00 &#x80;</subfield>
</datafield>


More information about the Koha mailing list