ropensci / emld

:package: JSON-LD representation of EML
https://docs.ropensci.org/emld
Other
13 stars 6 forks source link

Remove xml:lang attributes from eml-2.2.0.json #66

Closed amoeba closed 4 years ago

amoeba commented 4 years ago

Partially addresses https://github.com/ropensci/EML/issues/287 by changing emld_db to built off of the 2.2.0 JSON file. Removing the xml:lang attributes from the 2.2.0 JSON file is required because of how the templating function breaks when an argument with a colon is run through parse(). the xml:lang attribute can still be set on any EML element (list) manually.

HT @jeanetteclark for a first pass impl of this: https://github.com/ropensci/EML/issues/287#issuecomment-554581567.