Re: Standard compliance is needed

From: Date: Wed, 19 Jun 2002 00:39:43 +0000
Subject: Re: Standard compliance is needed
References: 1 2 3  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10921@lists.php.net to get a copy of this message
Gabor Hojtsy wrote:
Use DTD if and only if output confirms standard. Otherwise, do not write DTD
Just on a sidenote, AFAIK in SGML documents DTD reference IS required by the standard... So some DTD need to be referred..
This is good point. HTML 4.01 standard clearly states DTD is mandatory. We cannot satisfy standard anyway. The issue is "We write wrong HTML ignore DTD, or we write wrong HTML don't have DTD". IMO, second option is nicer, since it's obvious that page is not based on standards. (I know some broswers, such as mozilla, behave differently w/o DTD) I care about there are so many PHP applications that have DTD, but they do NOT pay any attention to standards. I'm hoping this to be changed. Anyway, I wouldn't point out such thing unless PHP is used for web development mainly. -- Yasuo Ohgaki

« previous php.mirrors (#10921) next »