-
Notifications
You must be signed in to change notification settings - Fork 62
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
adoption01.dat:187 expects 'unexpected-implied-end-tag-in-table-view' #61
Comments
html5lib-python has for a long time ignored the errors sections of the tests. Also, the actual contents of those lines is meaningless, per the pretty poor documentation of the test syntax:
Someday they'll go back to being meaningful, though probably only insofar as the position is meaningful. (What error is thrown is actually a hard question, given it frequently makes sense to coalesce multiple parse errors into one.) |
Do you know where that error came from? Without something actually throwing that error, how do we know the test is correct and html5lib-python is wrong vs html5lib-python is correct and the test is wrong? I'm implementing my own parser and I'm using html5lib-tests for testing and looking at html5-python for some reference related to the tests, but since html5lib-python doesn't throw that error, well, where did that error come from? Was the test copied from somewhere else or just made up? |
There's little impetuous to do anything about the strings the lines contain, given per the README for the tests, the contents of the line is meaningless — yes, ideally we'd have some useful string, but we don't, and nor do we have any way to ensure they stay current. |
At line 187 adoption01.dat has this test:
html5lib-python doesn't give any such error - the error text doesn't exist in the entire html5lib-python source code. I'm wondering if the test is wrong?
The text was updated successfully, but these errors were encountered: