ubermichael / isetools

Tools for parsing data for the Internet Shakespeare Editions
GNU General Public License v2.0
2 stars 3 forks source link

only one front/backmatter #40

Closed telic closed 2 years ago

telic commented 8 years ago

Add a validator to ensure there is at most one FRONTMATTER and one BACKMATTER.

ubermichael commented 8 years ago

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.

telic commented 8 years ago

And/or same implementation as #26