W3C home > Mailing lists > Public > public-evangelist@w3.org > May 2007

Tips: application/xhtml+xml and namespaces

From: Karl Dubost <karl@w3.org>
Date: Sat, 19 May 2007 11:47:09 +0200
Message-Id: <2DE0BC25-BFA7-4DBE-8E81-FBD2D980555C@w3.org>
To: "'public-evangelist@w3.org' w3. org" <public-evangelist@w3.org>

Quick note, because I have just discovered this.
FYI, When a file is served as application/xhtml+xml and you have  
forgotten the namespace.

Using
	<html>
Instead of
	<html xmlns="http://www.w3.org/1999/xhtml">

Safari and Camino displays the source code only.

PS: to easily serve your files as application/xhtml+xml on the  
desktop and on the server, use ".xhtml" for the extension.



-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Sunday, 20 May 2007 01:56:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 July 2011 00:13:23 GMT