[Koha-bugs] [Bug 35631] Default Z39.50 target syntax to match sys pref marcflavour

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 21 19:39:27 CET 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
I am wondering if the list of formats is misleading - we have many, but afaict
Koha only differentiates USMARC/MARC21 and UNIMARC - and the rest, while part
of the Z39.50 spec, are simply ignored?

Our code only references them in this script (with some spurious matches in JS
for SBN and CCF)

git grep
"INTERMARC\|UKMARC\|NORMARC\|LIBRISMARC\|DANMARC\|FINMARC\|CANMARC\|PICAMARC\|AUSMARC\|IBERMARC\|CATMARC\|MALMARC"
git grep -c "[^IH]SBN"
git grep -c "CCF"


MARC::Record->new_from_xml seems to only accept 4, and I am not sure it treats
USMARC/MARC21 differently:
143 If you have a chunk of XML and you want a record object for it you can use
144 this method to generate a MARC::Record object.  You can pass an optional
145 encoding parameter to specify which encoding (UTF-8 or MARC-8) you would
like
146 the resulting record to be in.  You can also pass a format parameter to
specify
147 the source record type, such as UNIMARC, UNIMARCAUTH, USMARC or MARC21.

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


More information about the Koha-bugs mailing list