Re: Standard compliance is needed
| From: | Yasuo Ohgaki | 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:
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 OhgakiUse DTD if and only if output confirms standard. Otherwise, do not write DTDJust on a sidenote, AFAIK in SGML documents DTD reference IS required by the standard... So some DTD need to be referred..