Re: [XHTML 2] 17 Embedding Attributes - srcType (PR#7735)

"Steven Pemberton" <xhtml2-issues@hades.mn.aptest.com>
>> Does it mean that only the content-types listed should be rendered
>> regardless of what content-types the server actually returns. e.g. if you
>> say <p src="item" srcType="text/plain"> and an application/xhtml+xml
>> resource is returned, the src should be considered a failure and not
>> rendered.
>
> No. In this case you will never get a xhtml+xml returned; you would get a 
> 406 if
> there were no such resource.

HTTP 1.1 does not require that a 406 is returned if no acceptable documents 
are available
see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7

> It does mean (almost) that, and a server returning another content type 
> would be
> in error (unless it was a part of a 406).

So this does not address my concern, and your resolution appears to violate 
HTTP 1.1.  Please do not violate HTTP 1.1

Cheers,

Jim.

Received on Wednesday, 25 January 2006 14:54:00 UTC