- From: Christoph Schneegans <Christoph@Schneegans.de>
- Date: Sat, 07 Oct 2006 15:00:20 GMT
- To: <www-validator@w3.org>
David Dorward wrote: >>>>> <?xml version="1.0" encoding="UTF-8"?> >>> >>> This shouldn't be in XHTML files served as text/html >> >> Of course it should, see <http://www.w3.org/TR/xhtml1/#C_9>. > > And see http://www.w3.org/TR/xhtml1/#C_1 too. "Some user agents" refer to out-dated browsers such as Netscape 3.x. There are no up-to-date browsers that render the XML declaration. > Better yet, avoid XHTML as text/html, it is badly underspecified, The XHTML specification clearly defines how to create XHTML documents that can be processed by existing HTML user agents. > and provides no client side advantages over HTML. XHTML provides many benefits for content authors. -- <http://schneegans.de/sv/> - XML Schema Validator | <http://schneegans.de/xp/> - XHTML Proxy |
Received on Saturday, 7 October 2006 15:02:48 UTC