W3C home > Mailing lists > Public > www-html@w3.org > December 2005

Re: HTML Improvement/Suggestion

From: Oskar Welzl <lists@welzl.info>
Date: Tue, 13 Dec 2005 10:16:11 +0100
To: Laurens Holst <lholst@students.cs.uu.nl>
Cc: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, www-html@w3.org
Message-Id: <1134465371.11974.11.camel@erde.hormayrgasse>

> Afaik, the type attribute (or whatever its name may be) in this case 
> means to indicate what types it accepts. So supposedly <object 
> src="bla.html" type="image/*">fallback content</object> would result in 
> the fallback content being shown, unless the server associates the .html 
> extension with an image/ type.

The problem with all the XHTML2-attribs (srctype, hreftype, hreflang)
based on http content negotiation is that 
a) servers will ignore them or handle them in unexpected ways (try get
http://www.w3.org/TR/xhtml2/ as "application/xml,application/xhtml+xml":
you'll receive "text/html")
b) they fail miserably in non-negotiating environments 
Received on Tuesday, 13 December 2005 09:15:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT