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

Re: Format for type attribute value

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 19 Nov 2007 20:45:24 +0100
Message-ID: <4741E7D4.8060302@gmx.de>
To: Henri Sivonen <hsivonen@iki.fi>
CC: "public-html@w3.org List" <public-html@w3.org>

Henri Sivonen wrote:
>> Yeah, but the attribute in question takes the same value as the 
>> Content-Type header, doesn't it?
> It is rather clear that it is not useful for the attribute to take the 
> same value as an email Content-Type header. It appears that the 
> attribute is supposed to take a single value that matches the media-type 
> production from RFC 2616. I'm not quite sure if this is exactly the same 
> thing as the value of the Content-Type HTTP header. I checked Necko 
> source code, and it seems to treat Content-Type as a header that can 
> take multiple comma-separated values matching media-type.

Multiple media-type values? What would that be good for? Pointer?

> Moreover, document conformance needs to define if leading and trailing 
> whitespace is OK in the attribute value. (For consistency with other 
> single-valued attributes, I suggest no.) Also, the HTTP definition of 
> LWS doesn't make sense for HTML5 attribute values, so the attribute 
> values should probably allow zero or more HTML5 space characters around 
> the semicolon.

I totally agree that the LWS stuff in RFC2616 is a headache. Maybe 
HTTPbis can improve that.

> ...

Best regards, Julian
Received on Monday, 19 November 2007 19:45:50 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:28 UTC