-
Notifications
You must be signed in to change notification settings - Fork 5
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
add line tagging for each token/node #1
Comments
This is an essential feature, when using the parser as part of a HTML5 verifier/linter. Additionally, the parser should produce reasonable error messages/codes, if it detects a violation of the spec. Currently, only an empty parse error hook is called without context information. I think, it is hard to provides this as performance-neutral optional feature, since it is a cross-cutting concern starting at tokenization and ending in the tree building phase. |
As this feature has an impact to the performances, it should be provided as an option+extended input processor.
The text was updated successfully, but these errors were encountered: