From 5847624124b4c91ae0a64b76405a36ad4f0dc3c4 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Tue, 31 Dec 2019 01:18:55 -0500 Subject: [PATCH] Update JATS dtd (#6020) The current DTD for the JATS writer template is for Journal Publishing (JATS-journalpublishing1.dtd), which does not permit ext-link as a valid child (https://jats.nlm.nih.gov/publishing/tag-library/1.1/element/publisher-name.html). This update modifies the default output template to be the less restrictive JATS archiving and interchange DTD which systems like PubMed use internally to represent their articles. --- data/templates/default.jats | 8 ++++---- test/jats-reader.xml | 6 +++--- test/writer.jats | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/templates/default.jats b/data/templates/default.jats index cdc336bab..20560cdc5 100644 --- a/data/templates/default.jats +++ b/data/templates/default.jats @@ -2,12 +2,12 @@ $if(xml-stylesheet)$ $endif$ - + $if(article.type)$ -
+
$else$ -
+
$endif$ diff --git a/test/jats-reader.xml b/test/jats-reader.xml index bfbfdc6a0..f75b3e95a 100644 --- a/test/jats-reader.xml +++ b/test/jats-reader.xml @@ -1,7 +1,7 @@ - -
+ +
diff --git a/test/writer.jats b/test/writer.jats index 8df981cc3..b7274b0f1 100644 --- a/test/writer.jats +++ b/test/writer.jats @@ -1,7 +1,7 @@ - -
+ +