Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSL-JSON content negotiation still returns invalid data #580

Open
jblachly opened this issue Jan 23, 2023 · 1 comment
Open

CSL-JSON content negotiation still returns invalid data #580

jblachly opened this issue Jan 23, 2023 · 1 comment

Comments

@jblachly
Copy link

Issue from 2017: #222

When negotiating content type as CSL-JSON (application/vnd.citationstyles.csl+json), CrossRef instead returns "extended citeproc", as it is called in the Cayenne codebase. This mostly consists of many extra fields, but also a fields with wrong types (principally arrays when CSL-JSON spec says string).

Fundamentally, most citeproc parsers can ignore extra fields, but wrong field types will crash some processors including Pandoc and citeproc-rs.

References:

@larsgw
Copy link

larsgw commented Jan 17, 2024

Additional differences include the entry types. I encountered a new one: dissertation. That should be "type": "thesis", optionally with "genre": "Doctoral dissertation".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants