W3C home > Mailing lists > Public > www-tag@w3.org > February 2002

"charset" is not generic to all media types [nsMediaType-3]

From: Dan Connolly <connolly@w3.org>
Date: 04 Feb 2002 08:56:41 -0600
To: www-tag@w3.org
Message-Id: <1012834602.4003.16.camel@dirk>
The diagram

suggests that one can look for a "charset" parameter
on any XML document in a MIME body part; i.e.
that the semantics of parameters named "charset"
is shared across all media types.

I wondered whether that's the case, which
earned me...

"Action DC: Verify that parameter names are local
to each MIME type."
  -- http://lists.w3.org/Archives/Public/www-tag/2002Jan/0235


For example, the "charset" parameter is applicable to any subtype of
   "text", while the "boundary" parameter is required for any subtype of
   the "multipart" media type.
  There are NO globally-meaningful parameters that apply to all media
  -- http://www.ietf.org/rfc/rfc2045.txt

Perhaps it's cost-effective to change this; after all,
it seems silly for somebody to define a media type
with a parameter named "charset" that means something else.
But as it is, the algorithm in the diagram relies
on more than the specs guarantee.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 4 February 2002 09:56:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:30 UTC