Closed telic closed 2 years ago
Add a validator to ensure there is at most one FRONTMATTER and one BACKMATTER.
I think the best way to handle this is minOccurs and maxOccurs attributes in the schema, and then create an occurrence validator that uses them.
And/or same implementation as #26
Add a validator to ensure there is at most one FRONTMATTER and one BACKMATTER.