W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: handling fallback content for still images

From: scott lewis <sfl@scotfl.ca>
Date: Mon, 9 Jul 2007 07:00:46 -0600
Message-Id: <3204B241-AF1F-4FA8-9624-A1A050BF4202@scotfl.ca>
Cc: HTML Working Group <public-html@w3.org>
To: Robert Burns <rob@robburns.com>

On 9 Jul 2007, at 0625, Robert Burns wrote:

> Hi Scott,
>
> [..]
>
> I'm not sure exactly how you're accomplishing this, but the fact  
> that you say Firefox refuses to process, this tells me you must  
> have discovered something interesting. I think I asked this before,  
> but are you performing a file-by-file MIME type setting on your  
> server? Otherwise how else are you altering your filename  
> extensions and still serving the same MIME type (or I guess this  
> could be accomplished incrementally one test at a time). Anyway, my  
> guess is (and this I think is an interesting discovery if its true)  
> that IE is ignoring the server MIME type and using the filename  
> extension instead. Firefox too may be doing something like that  
> which would cause it to fail (because it doesn't match its  
> preconceived notions of what a filename extension an XML file  
> should have).
>
> I'm curious to hear some more details.

Nothing more exotic than Lighttpd running locally with a fixed  
mimetype of application/xhtml+xml for .html and .xml.

IE and Firefox seem to be dispatching the file based on the  
extension. IE displays a standard 'I won't render XML documents'  
message when the file ends in .xml. FF displays a "Save To Disk/Open  
With..." dialog (identifying the document type as "HyperText") if the  
file ends in .html.

s.
Received on Monday, 9 July 2007 13:00:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT