[Koha-bugs] [Bug 16488] UNIMARC to MARC21 xslt to be used in z39.50 import sources

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 13 16:33:41 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16488

--- Comment #8 from Theodoros Theodoropoulos <theod at lib.auth.gr> ---
This updated xml version has better handling of Unimarc-100 (MARC21-008) field,
and supports the translation of far more UNIMARC fields.

Almost all of the new code was based on the (almost 15-year-old!) conversion
guidelines by LOC, so some fields/subfields might now be deprecated.
Even worse, important new fields might be missing from the translation.
(856 field was such an example, so by reading more recent docs, I think I
translated it properly).

How to test:
- Copy the file to koha-tmpl/intranet-tmpl/prog/en/xslt/
- Put "UNIMARC2MARC21.xsl" in "XSLT File(s) for transforming results:"
textfield of a UNIMARC Z39.50 source that you wish to translate to MARC21 
- Perform a test in the Z39.50 source. 
- Results /should/ be displayed properly in the Z39.50 result list.
- If the original Z39.50 source has non-utf (ie. Latin) encoding, you may even
try to import the records in Koha. 


Warnings:
- The work is nowhere near complete, but it's better (and more complete) that
what was currently available online.
- My knowledge of UNIMARC is very-very limited.
- The xsl was not thoroughly tested and the time I had to spend on it was
limited. Expect to find errors


Known issues:
Although the xsl /seems/ to work fine for me, there are certain encoding issues
when using it to IMPORT utf8 UNIMARC records to Koha. Displaying of UTF8
records in the Koha Z39.50 result list is OK, but importing them to cataloging
is not.
It's possible that it's an issue of Koha code and not related to this xsl. (I
will open a BZ case soon).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list