<div dir="ltr">Hi,<div><br></div><div>There seems to be a bug reading MARC field 008 with marc_map():</div><div><br></div><div>Problem: marc_map("008/33", "lit_form") does not return a value in case of the characterl at this position is "0".</div><div><br></div><div>Data:</div><div><div>      [</div><div>         "008",</div><div>         " ",</div><div>         " ",</div><div>         "_",</div><div>         "931004s1993^^^^lv^a^^^^^^^^^^001^0^lav^d"</div><div>      ],</div></div><div><br></div><div>Commands:</div><div><br></div><div><div>marc_map("008/33", "lit_form")</div><div>marc_map("008/32", "another_008_position")</div></div><div><br></div><div>Result: no value in "lit_form" (but the value from another position - 32 - is read OK)</div><div><br></div><div><div>   "another_008_position" : "^"</div></div><div><br></div><div>If the character @ pos 33 is changed to another value (e.g. "f") the value is read OK:</div><div><br></div><div><div>   "lit_form" : "f",</div><div>   "another_008_position" : "^",</div></div><div><br></div><div>---</div><div><br></div><div>Cheers,</div><div>Uldis</div></div>