http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6799
Bug #: 6799
Summary: rebuild_zebra.pl -x produces invalid XML records
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: rel_3_6
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Acquisitions
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
There are 2 issues with rebuild_zebra.pl since items have been removed
from biblioitems.marcxml:
(1) If some fields (itemcallnumber for example) contains some non-ASCII
characters, items extraction from items table can fail. Items
MARC::Record can't be constructed and fail with an 'invalid wide
character error'.
(2) MARCXML records which are exported into a file are invalid.
Example:
<datafield tag="915" ind1=" " ind2=" ">
<subfield code="t">DOCUJ</subfield>
</datafield>
sion="1.0" encoding="UTF-8"?>
<record
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/
standards/marcxml/schema/MARC21slim.xsd"
xmlns="http://www.loc.gov/MARC21/slim">
<leader> </leader>
<datafield tag="995" ind1=" " ind2=" ">
<subfield code="2">0</subfield>
<subfield code="k">J 591 CUI</subfield>
<subfield code="f">0003401004</subfield>
<subfield code="9">1</subfield>
<subfield code="c">AMB</subfield>
<subfield code="o">0</subfield>
<subfield code="e">1</subfield>
<subfield code="j">0.00</subfield>
<subfield code="b">AMB</subfield>
<subfield code="p">0</subfield>
<subfield code="q">J</subfield>
</datafield>
--
Configure bugmail:
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/