W3C home > Mailing lists > Public > www-validator@w3.org > March 2012

Re: Validation without external content?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 18 Mar 2012 13:11:53 +0200
Message-ID: <4F65C2F9.3050503@cs.tut.fi>
To: Dorin <contact@best-laptop-deals.com>
CC: www-validator@w3.org
2012-03-17 23:06, Dorin wrote:

> I would like to know if there is a way to have a website validated
> ignoring somehow external widgets/plugins or any other piece of code that
> we can't always control or fix.

What would you use it for? Markup validation is about detecting 
reportable errors in markup.

The only reason for wanting to exclude some part of the markup would be 
that it causes so many error messages that you have difficulties in 
distinguishing them from the errors that you can affect. Even then, it 
is better to validate it all, analyze the reason when you first do this, 
check whether you can fix the problems after all, and to the extent you 
cannot, just document the situation for yourself and your coworkers.

> For example, if a website is successfully checked/validated and then you
> decide to add an external widget, the code might not always validate.

If there is a reason for validating markup, then there is surely a 
reason to validate when you especially suspect that there can be errors.

> Is there any ignore tag available for this?

No.

Yucca
Received on Sunday, 18 March 2012 11:12:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:50 GMT