plazi/ggxml2taxpub

schematron validation prior to conversion

Opened this issue · 3 comments

  • subSections must not be nested
  • treatments must not be nested

errors for nested subsections in non-tax sample:

System ID: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/0935FFC23E7A78676E76FF91FF80FFB4.xml
Main validation file: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/0935FFC23E7A78676E76FF91FF80FFB4.xml
Schema: /Users/thc4/Github/ggxml2taxpub/profiling/ggxml_treatment..sch
Engine name: ISO Schematron
Severity: error
Description: A subSection must not have a descendant subSection.
Start location: 257:25

System ID: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/7837FF9BFFD3FF8DC12FB40EFFB10C6E.xml
Main validation file: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/7837FF9BFFD3FF8DC12FB40EFFB10C6E.xml
Schema: /Users/thc4/Github/ggxml2taxpub/profiling/ggxml_treatment..sch
Engine name: ISO Schematron
Severity: error
Description: A subSection must not have a descendant subSection.
Start location: 167:136

System ID: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/FFC77538BA18FFE02214696BC40FD071.xml
Main validation file: /Users/thc4/Github/ggxml2taxpub/ggxml/articles/non-tax/FFC77538BA18FFE02214696BC40FD071.xml
Schema: /Users/thc4/Github/ggxml2taxpub/profiling/ggxml_treatment..sch
Engine name: ISO Schematron
Severity: error
Description: A subSection must not have a descendant subSection.
Start location: 1153:145



add: sec must not occur inside paragraph

another one with subSections inside paragraphs: FFB2FFB7FFC915103538FFB8FF831A57