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

foliavalidator gives non informative error message when the version attribute is missing #51

Open
kosloot opened this issue Nov 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kosloot
Copy link
Collaborator

kosloot commented Nov 21, 2022

When validating a document without a version attribute, I get:

Error on line 0: Element FoLiA failed to validate attributes
VALIDATION ERROR against RelaxNG schema (stage 1/3), in tests/GRR.xml
Element FoLiA failed to validate attributes

A more helpful message would include a reference to the missing attribute

@kosloot kosloot added the enhancement New feature or request label Nov 21, 2022
@kosloot kosloot changed the title folialint gives non informative error message when the version attribute is missing foliavalidator gives non informative error message when the version attribute is missing Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants