[Koha-bugs] [Bug 27365] Koha doesn't check marcxml field size is < 10000 and fails in various places

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 12 00:56:42 CET 2021


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

--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
If you look at https://www.iso.org/obp/ui/#iso:std:iso:2709:ed-4:v1:en, you
can't see the contents without paying. However, you can see the table of
contents, and in the table of contents it says "4.3.2 Record length (octets 0
to 4)"

When we look at the MARC standard, which I think is technically an
implementation of ISO 2709, we can see "00-04 - Record length" at
https://www.loc.gov/marc/bibliographic/bdleader.html

Thus, it seems like to be MARC compliant, you need to restrict yourself to
these limitations.

And to get that lossless round-trip, you'd need to impose additional
limitations on MARCXML.

It's really a shame that they didn't make those restrictions explicit in the
XSD file. I wonder if that was intentional or a mistake.

But from a practical standpoint... limiting MARCXML to be ISO 2709 compliant
seems so... impractical. 

But you're right about not limiting MARCXML does lead to conversion errors...

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


More information about the Koha-bugs mailing list