[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
Thu Jul 14 07:36:07 CEST 2016


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

--- Comment #10 from Theodoros Theodoropoulos <theod at lib.auth.gr> ---
Andy, you obviously search BNF.

I've added some debugging and for title 'vatican', BNF returns for example this
tag in the RAW (UNIMARC) data:

<datafield tag="200" ind1="1" ind2=" ">
    <subfield code="a"><88>Die <89>vaticanische Handschrift der Chronik des
Mathias von Neuenburg, von Ludwig Weiland. Vorgelegt in der Sitzung der k.
Gesellschaft der Wissenschaften am 28 Mai. 1892</subfield>
    <subfield code="b">Texte imprimé</subfield>
</datafield>

This produces the following error during the transformation:
parser error : StartTag: invalid element name
    <subfield code="a"><88>Die <89>vaticanische Handschrift der Chronik des
Math
                        ^
Which means that it's probably an issue with the encoding of the data returned
by BNF through yaz.
Unfortunately I couldn't use the BNF TOUT-UTF8 database (that returns utf8
encoded records) because it timed out.

I've tested the xsl with several Greek UNIMARC databases that return utf8
records and it works. If you know any other useful UNIMARC database (ideally
with utf8 support), I could give them a try.

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


More information about the Koha-bugs mailing list