[Koha-bugs] [Bug 1567] MARC record parsing from and to XML

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Wed Nov 7 17:08:05 CET 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1567


galen.charlton at liblime.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #3 from galen.charlton at liblime.com  2007-11-07 08:08 -------
There were to problems in the test case that are fixed in the attachment:

[1] MARC::File::XML must be imported with 'use' instead of 'require', otherwise
it isn't initialized properly.

[2] For the MARC21 flavor, the Leader/09 must be 'a' if the record is UTF8;
otherwise, MARC::File::XML->as_xml_record() will try to transcode it from
MARC-8 to UTF-8.  In the sample record, the leader is malformed; it should be
something like

   <leader>02200naa a2200145 a 4500</leader>

instead of

   <leader> 2200naaa a2200145 a 4500</leader>




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list