projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed yaz_iconv to return YAZ_ICONV_EINVAL if an incomplete MARC-8
[yaz-moved-to-github.git]
/
test
/
marc3.xml
diff --git
a/test/marc3.xml
b/test/marc3.xml
index
7719e9c
..
baab879
100644
(file)
--- a/
test/marc3.xml
+++ b/
test/marc3.xml
@@
-1,5
+1,6
@@
<record xmlns="http://www.loc.gov/MARC21/slim">
<record xmlns="http://www.loc.gov/MARC21/slim">
- <leader>00914naa a2200337 45 </leader>
+<!-- Length implementation at offset 22 should hold a digit. Assuming 0 -->
+ <leader>00914naa a2200337 450 </leader>
<datafield tag="001" ind1=" " ind2=" ">
<subfield code="a">a00001508</subfield>
<subfield code="f">a</subfield>
<datafield tag="001" ind1=" " ind2=" ">
<subfield code="a">a00001508</subfield>
<subfield code="f">a</subfield>
@@
-61,11
+62,17
@@
<datafield tag="648" ind1=" " ind2=" ">
<subfield code="a">Eng, Dagfin</subfield>
</datafield>
<datafield tag="648" ind1=" " ind2=" ">
<subfield code="a">Eng, Dagfin</subfield>
</datafield>
- <controlfield tag="648"> Granlund, TomcKristian AugustsgatecPilestredet 19 </controlfield>
+ <datafield tag="648" ind1=" " ind2=" ">
+ <subfield code="r">anlund, Tom</subfield>
+ <subfield code="c">Kristian Augustsgate</subfield>
+ <subfield code="c">Pilestredet 19</subfield>
+ </datafield>
<datafield tag="J01" ind1=" " ind2=" ">
<subfield code="a">a</subfield>
</datafield>
<datafield tag="J01" ind1=" " ind2=" ">
<subfield code="a">a</subfield>
</datafield>
- <controlfield tag="BAS"> 20 </controlfield>
+ <datafield tag="BAS" ind1=" " ind2=" ">
+ <subfield code="0"></subfield>
+ </datafield>
<datafield tag="LKR" ind1=" " ind2=" ">
<subfield code="a">ITM</subfield>
<subfield code="l">ARK50</subfield>
<datafield tag="LKR" ind1=" " ind2=" ">
<subfield code="a">ITM</subfield>
<subfield code="l">ARK50</subfield>