W3C home > Mailing lists > Public > www-validator@w3.org > December 1999

Re: Is there a validator bug?

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Mon, 20 Dec 1999 11:16:32 -0800
Message-Id: <4.2.0.58.19991220111515.0309d960@mail.idyllmtn.com>
To: "Kevin Berkheiser" <KBerk@Bigfoot.com>
Cc: "W3C Validator" <www-validator@w3.org>
At 10:55 AM 12/20/1999 , Kevin Berkheiser wrote:
>I received this comment “Strictly speaking (i.e., strict.dtd), A can only
>+ contain %inline; elements, and P is %block;)” about the following
>document.
>My home page uses this script and the page validates properly.  I see what
>the person said, I guess there is no way to make sure the validator
>catches mistakes like this?

No, there's not, because the HTML of the page -is- valid.

The script is valid, the HTML is valid, it's only when the script
runs that your code breaks the validity of the page.

Moral of the story:  Don't write scripts that break HTML?

-- 
Kynn Bartlett  <kynn@idyllmtn.com>                   http://www.kynn.com/
Chief Technologist, Idyll Mountain Internet      http://www.idyllmtn.com/
Next Speaking Engagement -- SHARE at Anaheim   http://www.kynn.com/+share
Take my Web Management Online Class!       http://www.kynn.com/+nextclass
Received on Monday, 20 December 1999 14:32:28 GMT

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