lcnetdev / marc2bibframe2

Convert MARC records to BIBFRAME2 RDF
http://www.loc.gov/bibframe/
Creative Commons Zero v1.0 Universal
88 stars 35 forks source link

Multiple 8XX fields don't generate correct number of seriesStatement properties #164

Closed wafschneider closed 4 years ago

wafschneider commented 4 years ago

Example record: http://lx2.loc.gov:210/LCDB?query=bath.lccn=2019457386&recordSchema=marcxml&maximumRecords=1

This record has a 490 field and 2 800 fields. Each 800 field should be matched with a 490 for bf:seriesStatement/bf:seriesEnumeration properties on the Instance. The first 800 should not generate seriesStatement/seriesEnumeration, as it is matched to the single 490. The 2nd 800 field should generate an additional seriesStatement "Rowling, J. K. Year ... at Hogwarts" and a seriesEnumeration "bk. 3".