Hi 

I haven't bothered messing with this yet - but Simon Jessey has:

http://keystonewebsites.com/articles/mime_type.php
http://jessey.net/blog/2003/sep/


> I have created an index.xhtml file, changed the content in it 
> to "application/xhtml+xml" (<meta 
> content="application/xhtml+xml; charset=iso-8859-1" /> ) and 
> uploaded it.

Meta tags are almost useless for this sort of stuff. HTTP Headers are where
the action is.


> Now, IE is served the xhtml file as text/html and Mozilla is 
> served application/xhtml+xml. Is it?
> 
> You can test both files with IE and Mozilla, for instance:
> 
> http://excellentsite.org/index.shtml
> http://excellentsite.org/index.xhtml

Seems to be working - Firefox is getting served application/xhtml+xml for
the second link.


> Could it be this way? If yes, why doesn't IE load the xhtml page ?!

IE has broken mime support.


Don't take this too seriously but I'm just going to add my usual disclaimer:

+ XHTML is currently a waste of time. It might be useful in a few years.

+ All the features that XHTML adds are currently supported so badly by
user-agents at large that there is almost no point in using it. 

+ HTML4.1 is the right choice for web documents at the moment. 

This argument has been outlined at length on this list so search the archive
at: http://www.mail-archive.com/wsg%40webstandardsgroup.org/ if you are
interested in more details.

However having said that I think the approach you have taken (serving as xml
mime type where possible) is one of the more responsible ones at the moment.
I still don't think its worth the effort though.


Cheers

Mark


------------------
Mark Stanton 
Technical Director 
Gruden Pty Ltd 
Tel: 9956 6388
Mob: 0410 458 201 
Fax: 9956 8433 
http://www.gruden.com  

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to