Re: Validating one of my web pages

On Fri, 6 Jul 2007, Otto Wyss wrote:

> True, but this backslash is a rather silly hack around a problem the
> validator should be able to handle correct.

No, _authors_ should handle the problem by putting JavaScript code in an 
external file or by using modern DOM techniques when creating HTML 
elements.

After an author has created the problem by putting, say, </div> inside a 
script element, the only correct handling in a validator is to report the 
markup error. The job of a validator is to report reportable markup errors 
- nothing more, nothing less.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Friday, 6 July 2007 20:07:48 UTC