Tips: application/xhtml+xml and namespaces

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Tips: application/xhtml+xml and namespaces

Karl Dubost

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 ***