lcnetdev / bibframe2marc

XSLT application to generate MARCXML from BIBFRAME RDF/XML
Creative Commons Zero v1.0 Universal
15 stars 5 forks source link

empty MARC fields with LCSH subdivision URIs #21

Open jodiw01 opened 2 months ago

jodiw01 commented 2 months ago

When a MARC record contains a subject heading that can be also used as a subdivision heading -- and has two URIs in id.loc.gov -- bibframe2marc is selecting the subdivision URI and creating an empty MARC field.

Examples:

001 20436877 https://id.loc.gov/resources/works/20436877.html \0$xStability$0http://id.loc.gov/authorities/subjects/sh2001008917

Correct heading: 650 \0$aStability$0http://id.loc.gov/authorities/subjects/sh85127185

001 23664374 https://id.loc.gov/resources/works/23664374.html \0$vArt$0http://id.loc.gov/authorities/subjects/sh99001267

Correct heading: 650 \0$aArt$0http://id.loc.gov/authorities/subjects/sh85007461