validation issue: one sec in a treatment enough?
myrmoteras opened this issue · comments
@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/
and here the one sec treatment in Plazi TB
http://tb.plazi.org/GgServer/html/FEA877B9AE9D425E243213D965AE88D2
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-sec
s or tp:taxon-treatment
s, followed by an optional ref-list