plazi / ggxml2taxpub

Conversion of GoldenGATE XML to JATS/TaxPub at treatment level
0 stars 1 forks source link

schematron validation prior to conversion #62

Open tcatapano opened 8 months ago

tcatapano commented 8 months ago
tcatapano commented 8 months ago

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
tcatapano commented 8 months ago

add: sec must not occur inside paragraph

tcatapano commented 8 months ago

another one with subSections inside paragraphs: FFB2FFB7FFC915103538FFB8FF831A57