datacite / bolognese

Ruby gem and command-line utility for conversion of DOI metadata
MIT License
40 stars 14 forks source link

Fix content negotiate for schema 3.x dois #97

Closed kjgarza closed 4 years ago

kjgarza commented 4 years ago

Purpose

User are unable to get bibtex formatted metadata for dois with kernel-3 schema.

In Bolognese metadata regenerated every time for these DOIs but instead of taking the value of the regenerated xml bolognese takes it from the original file.

closes: https://github.com/datacite/datacite/issues/1024

Approach

we get the kernel version from the regenerated xml.

Open Questions and Pre-Merge TODOs

Learning

Status

Types of changes

kjgarza commented 4 years ago

@mfenner But that’s not how the bug occurred. Look at the related bug issue. The error occurs when content negotiating bibtex from a doi that has schema 3 metadata. Therefore the metadata conversion would be from datacite_json to bibtex.