lcnetdev / marc2bibframe2

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

Add three spaces as an option to not create bf:duration (tag 008) #228

Closed ivozandhuis closed 10 months ago

ivozandhuis commented 1 year ago

https://github.com/lcnetdev/marc2bibframe2/blob/a2c5a96e0286c45bfd441bd493d31a0f5b86904a/xsl/ConvSpec-006%2C008.xsl#L497

These lines determine whether bf:duration is generated or not. This is detected by finding the character '|||' or 'nnn' from character 19 on wards in tag 008. Should three spaces be handled the same way? Than add an extra line: <xsl:when test="substring($dataElements,1,3) = ' '"/>

jodiw01 commented 10 months ago

This issue has been fixed