Re: Is there a validator bug?

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 UTC