-
Notifications
You must be signed in to change notification settings - Fork 266
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
Changed output from validator.nu? #80
Comments
Are you using the Otherwise, the version of the script at https://github.com/validator/validator/blob/master/resources/examples/html5check.py appears to still be working as expected when I use it without specifying any other options. Are you using that version? Without any options specified?
If you're not using the
Yes, I made some changes to the backend recently that have some effect on the metadata of the error messages that get emitted; in particular, the messages now emit a range identifier for the location of the error in the document source, rather than a single position identifier. I wouldn't think that would affect the behavior of this script—because I'd assume the script is just passing on the messages as-is—but maybe it's trying to do some post-processing of the messages (I have no idea because I haven't looked in detail at the script source yet to see). |
I specified the errors in more detail in this issue at html5-lint: mozilla/html5-lint#15 Apperantly the
I was able to get the script working again with a small modification to that for-loop causing the error:
I use the
The script itself does not seem to do any post processing to the actual content of the response. |
OK it sounds like you got the fix you need. So maybe you could open a PR against the https://github.com/mozilla/html5-lint/blob/master/html5check.py and after that I can backport it to the https://github.com/validator/validator/blob/master/resources/examples/html5check.py upstream version. Or if you believe I've regressed the backend in some way that I should fix, lemme know. |
Fixed in mozilla/html5-lint#16 |
Ported patch from mozilla/html5-lint@11ba547 Fixes validator#80. Thanks Arne de Laat (@153957).
I use the html5check script, which uses validator.nu, to validate the code for several of my projects.
The last couple of days the test script stopped working. Has the output from validator.nu changed in the last couple of days? I have also reported this issue (mozilla/html5-lint#15) in the repo of the html5check script, however that script has not changed, so the 'cause' of the issues is probably a change in validator.nu .
The text was updated successfully, but these errors were encountered: