diff options
| author | Castedo Ellerman <[email protected]> | 2022-06-22 13:17:24 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-22 10:17:24 -0700 |
| commit | e7269beeb684a1a73e38025e41f8bd411c3aae14 (patch) | |
| tree | 91d434b4ca4527d1ad6853a8fa4fb15e4e82d2c9 /data | |
| parent | 8fc370bcec35ab3b57fc719e878f6965ff5e5a4d (diff) | |
Follow JATS4R recommendation and PudMed Central (#8041)
Using the default jats template of pandoc 2.18, the https://jats4r.org/jats4r-validator/ warns: "The license URI is given in `@xlink:href`. For JATS 1.1d3 and later, if the license is defined by a canonical URI, then it should be specified in the `<ali:license_ref>` child element."
I can confirm that what JATS4R recommends here is consistent with the JATS article packages found on the FTP site for the
PubMed Central Open Access Subset <https://www.ncbi.nlm.nih.gov/pmc/tools/openftlist/> (at least with the eLife article I looked at).
This proposed change follows the JATS4R recommendation and an example eLife article on the PubMed Central FTP site.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/article.jats_publishing | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index 40db76f4b..35315a8ba 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -194,7 +194,10 @@ $if(copyright.text)$ </license> $endif$ $for(license)$ -<license$if(it.type)$ license-type="${it.type}"$endif$$if(it.link)$ xlink:href="${it.link}"$endif$> +<license$if(it.type)$ license-type="${it.type}"$endif$> +$if(it.link)$ +<ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">${it.link}</ali:license_ref> +$endif$ <license-p>$if(it.text)$${it.text}$else$${it}$endif$</license-p> </license> $endfor$ |
