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

only one front/backmatter #40

Closed
telic opened this issue May 27, 2016 · 2 comments
Closed

only one front/backmatter #40

telic opened this issue May 27, 2016 · 2 comments

Comments

@telic
Copy link
Contributor

telic commented May 27, 2016

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

@ubermichael
Copy link
Owner

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

telic commented Jun 9, 2016

And/or same implementation as #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants