"This interface for validating HTML5 documents is out of date"

While executing the project, I checked it for W3C errors (using the html validator plugin for Firefox), and in this process I found a warning that I had never seen before.

" Warning: This interface for validating HTML5 documents is out of date"

  • So, the first thing that occurred to me was “let me do this” and see what information I can find about this warning, but I received nothing.
  • Tried a different approach that went to the actual W3C Validator and watched the result. But I was given the same warning (shown below), but this time he was pointing me to another link to check again , which I did, but I could not understand why I had to check the W3C validator NU , and not W3C validator original , as usual.

This interface for validating HTML5 documents is deprecated. Use the Nu Html Checker at https://validator.w3.org/nu/ directly.

So what is the meaning of this warning and why does it appear?

PS . - I just noticed that this is happening on my current projects and AFAIR since a few days ago.


EDIT . This stopped giving me the warning above, now it shows the following errors:

Error: Network parser error

and

Error: Go to menu: HTML Validator / W3c Online validator to view the error

Switching to W3C Validator Now I see that it is updated for the W3C NU validator

EDIT2 - since I have not seen errors in a plugin for a long time. It seems that the developers have updated the plugin. So far so good.

+5
source share
2 answers

Supporting W3C HTML Checker. I am the one who added that the message “Warning: this interface for checking HTML5 is deprecated” a few weeks ago.

In fact, you will not see this message now, because at the same time Ive configured a mechanism that automatically redirects requests from the old obsolete W3C Markup Validator to https://validator.w3.org/ to the current W3C HTML Checker to https: // validator .w3.org / nu /

If you're interested, change the diff here:

https://github.com/w3c/markup-validator/commit/1b12fe496bb457950944782f133f547cee3cef56

All that said, if you use the legacy SOAP 1.2 API for the legacy markup analyzer (or use some kind of tool that relies on it), you can now see the message:

This interface for validating HTML5 documents is deprecated. Instead, use the https://validator.w3.org/nu/ interface.

If you see this message at the exit from any used tool / library, you need to report this as an error to the developers of this tool / library so that they can update it, instead use the current API for https://validator.w3.org / nu / .

+3
source

All of this means that the old validator on the W3C website can no longer accurately verify the current HTML5 specification used by browsers. Some elements (for example, hgroup) that were in the process of being accepted were eventually discarded, while others were changed or added.

So all of this means that this validator is out of date and therefore not the best place to check your HTML5 documents.

+3
source

All Articles