W3C home > Mailing lists > Public > www-validator@w3.org > January 2000

A loophole in the validator?

From: Pierre Far <pierrefar@hotmail.com>
Date: Wed, 26 Jan 2000 21:26:46 GMT
Message-ID: <20000126212647.6687.qmail@hotmail.com>
To: www-validator@w3.org
Dear all,
I am sure that you must have disscussed this before, but one could use 
javascript to create non-standard HTML documents and they would still 
validate as strict HTML. For a demo, please visit 
http://lightning.prohosting.com/~orlp/validator/ , a page I set up. Using 
document.write calls, the page creates a number of non-standard strict HTML 
4.0, and the page does validate, as you can see from the logo at the bottom. 
So what is to stop a devious webmaster from using this and tricking the 

Pierre Far
< http://get.to/knowledge >
Get Your Private, Free Email at http://www.hotmail.com
Received on Wednesday, 26 January 2000 16:27:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:27 UTC