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

Reverse the validation ordering of block nodes #22

Open
windwardrail opened this issue Jun 5, 2018 · 0 comments
Open

Reverse the validation ordering of block nodes #22

windwardrail opened this issue Jun 5, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@windwardrail
Copy link
Contributor

The current way that the validator processes block nodes is to start from the last sibling and progress backwards to the first. It was set up this way originally because it made it slightly easier to deal with repeatable node annotations. It turns out that it increases the difficulty of interpreting validation errors though since it is not intuitive to start at the end and work backwards. If the order could be reversed, it would increase the sensibility of the reported errors and would make the validation routine consistent between block and inline node types.

@windwardrail windwardrail added the enhancement New feature or request label Jun 5, 2018
@windwardrail windwardrail self-assigned this Jun 5, 2018
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

1 participant