Tips: application/xhtml+xml and namespaces

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 UTC