Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schematron validation prior to conversion #62

Open
tcatapano opened this issue Oct 31, 2023 · 3 comments
Open

schematron validation prior to conversion #62

tcatapano opened this issue Oct 31, 2023 · 3 comments
Assignees
Labels
article issues related to conversion of full articles

Comments

@tcatapano
Copy link
Member

  • subSections must not be nested
  • treatments must not be nested
@tcatapano tcatapano added the article issues related to conversion of full articles label Oct 31, 2023
@tcatapano tcatapano self-assigned this Oct 31, 2023
tcatapano added a commit that referenced this issue Oct 31, 2023
@tcatapano
Copy link
Member Author

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
Copy link
Member Author

add: sec must not occur inside paragraph

@tcatapano
Copy link
Member Author

tcatapano commented Oct 31, 2023

another one with subSections inside paragraphs: FFB2FFB7FFC915103538FFB8FF831A57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
article issues related to conversion of full articles
Projects
None yet
Development

No branches or pull requests

1 participant