]> git.koha-community.org Git - koha.git/commit
Bug 33270: Add record_strip_nonxml routine to Koha::Biblio::Metadata
authorNick Clemens <nick@bywatersolutions.com>
Fri, 23 Jun 2023 13:08:31 +0000 (13:08 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 19 Jul 2023 10:14:23 +0000 (10:14 +0000)
commitb5e51d13190dabe79ca5896d96e5d8d06e84f7fa
tree9bc04780d1d05de38acb10155973e0b4b38f5a98
parent4492065f9e5d33136754a73735907f3e4b039f79
Bug 33270: Add record_strip_nonxml routine to Koha::Biblio::Metadata

This adds a routine that can strip non xml characters form a record.
It is intended for cases where we do not wish to throw an exception,
but rather need to process a record to allow other work to continue

To test:
prove -v t/db_dependent/Koha/Biblio/Metadata.t

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4997d59c83ec1c63a3dc2c089fed79e3ad5fa764)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 9544bd25a2b3c4811abb941b67a5684952a78da6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Biblio/Metadata.pm
t/db_dependent/Koha/Biblio/Metadata.t