Tips: application/xhtml+xml and namespaces

View: New views
1 Messages — Rating Filter:   Alert me  

Tips: application/xhtml+xml and namespaces

by Karl Dubost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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