Re: How about a saveXHTML for the DOM?

From: Date: Thu, 09 Apr 2009 09:19:33 +0000
Subject: Re: How about a saveXHTML for the DOM?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-291278@lists.php.net to get a copy of this message
On 9/4/09 04:55, Michael A. Peters wrote:
IE (still) does not properly support XHTML. It will render an XHTML page sent with the text/html mime type - but that's actually a standards violation.
Is it? What standard is it violating? "XHTML Documents which follow the guidelines set forth in Appendix C, "HTML Compatibility Guidelines" may be labeled with the Internet Media Type "text/html" [RFC2854], as they are compatible with most HTML browsers." http://www.w3.org/TR/xhtml1/#media "Due to the long and distributed development of HTML, current practice on the Internet includes a wide variety of HTML variants. Implementors of text/html interpreters must be prepared to be "bug-compatible" with popular browsers in order to work with many HTML documents available the Internet. … [XHTML1] defines a profile of use of XHTML which is compatible with HTML 4.01 and which may also be labeled as text/html." http://www.ietf.org/rfc/rfc2854.txt (I'm not saying it's a good idea, mark you! http://hixie.ch/advocacy/xhtml ) -- Benjamin Hawkes-Lewis

« previous php.general (#291278) next »