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

add line tagging for each token/node #1

Open
syjer opened this issue Oct 28, 2015 · 1 comment
Open

add line tagging for each token/node #1

syjer opened this issue Oct 28, 2015 · 1 comment

Comments

@syjer
Copy link
Member

syjer commented Oct 28, 2015

As this feature has an impact to the performances, it should be provided as an option+extended input processor.

@haumacher
Copy link

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.

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

No branches or pull requests

2 participants