elifesciences / elife-crossref-xml-generation

Crossref deposit of journal articles
MIT License
4 stars 3 forks source link

Omit adding blank <given_name/> tag #79

Closed gnott closed 5 years ago

gnott commented 5 years ago

There is an example article in eLife where a blank <given_name/> tag is added for a <person_name> record, and this blank element is rejected by the Crossref schema.

Planned fix is: if contributor.given_name is blank, do no add the tag to the deposit XML output.