plazi / TaxPub

TaxPub Extension of the Journal Publishing Tag Set NISO JATS Version 1.1 (ANSI/NISO Z39.96-2015)
MIT License
12 stars 5 forks source link

validation issue: one sec in a treatment enough? #48

Closed myrmoteras closed 3 years ago

myrmoteras commented 3 years ago

@tcatapano in thsi BDJ, there are treatments that have only one sec in a treatment. https://bdj.pensoft.net/article/6313/element/7/0/viburnum%20lantana/ it seems that this validates, although I thought that the definition of a treatments requires at least two sec?

https://bdj.pensoft.net/article/6313/element/7/0/viburnum%20lantana/

https://bdj.pensoft.net/article/6313/download/xml/

image

and here the one sec treatment in Plazi TB http://tb.plazi.org/GgServer/html/FEA877B9AE9D425E243213D965AE88D2

tcatapano commented 3 years ago

this is fine. See the content model of <tp:taxon-treatment>: http://taxpub.catapanoth.com/v1-pre/documentation/#p=elem-tp-taxon-treatment

( tp:treatment-meta?, tp:nomenclature, ( tp:treatment-sec | tp:taxon-treatment )*, ref-list? )

an optional tp:treatment-meta, followed by a required tp:nomenclature, followed by zero or more tp:treatment-secs or tp:taxon-treatments, followed by an optional ref-list