diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index ce184c0ed..b64425fd8 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -14,6 +14,13 @@ $endif$ $if(journal.pmc)$ $journal.pmc$ $endif$ +$-- Fallback: an empty journal-id in case none is available. +$if(journal.publisher-id)$ +$elseif(journal.nlm-ta)$ +$elseif(journal.pmc)$ +$else$ + +$endif$ $if(journal.title)$ $journal.title$ @@ -28,6 +35,12 @@ $endif$ $if(journal.eissn)$ $journal.eissn$ $endif$ +$-- At least one issn element is required; use empty issn as fallback +$if(journal.pissn)$ +$elseif(journal.eissn)$ +$else$ + +$endif$ $journal.publisher-name$ $if(journal.publisher-loc)$ diff --git a/test/writer.jats_archiving b/test/writer.jats_archiving index b7274b0f1..a708e0367 100644 --- a/test/writer.jats_archiving +++ b/test/writer.jats_archiving @@ -4,8 +4,10 @@
+ + diff --git a/test/writer.jats_publishing b/test/writer.jats_publishing index 6384a5939..6d5a04057 100644 --- a/test/writer.jats_publishing +++ b/test/writer.jats_publishing @@ -4,8 +4,10 @@
+ +