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

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

Closed ivozandhuis closed 7 months ago

ivozandhuis commented 11 months 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 7 months ago

This issue has been fixed