W3C home > Mailing lists > Public > public-ws-media-types@w3.org > April 2004

Re: Draft Proposal for Assigning Media Types

From: Mark Nottingham <mark.nottingham@bea.com>
Date: Thu, 1 Apr 2004 16:06:23 -0800
Message-Id: <940BE7F2-8439-11D8-9601-000A95BD86C0@bea.com>
Cc: public-ws-media-types@w3.org, Umit Yalcinalp <umit.yalcinalp@oracle.com>, Martin Gudgin <mgudgin@microsoft.com>
To: Anish Karmarkar <Anish.Karmarkar@oracle.com>


On Mar 30, 2004, at 5:26 PM, Anish Karmarkar wrote:

> Mark Nottingham wrote:
>
>> That's an issue, not a requirement. The question I was trying to get 
>> to was whether we need to allow open-ended sets (like image/*) 
>> specifically, or just closed sets. I do wonder whether the ability to 
>> say "I'd like an image; don't care what format you use, even if I've 
>> never heard of it" is useful in a Web services context.
>
> The use case I had in mind was to allow all the image formats that are 
> well-know, standard and well-supported. If an unknown format is sent 
> this would result in some sort of app level fault. Another alternative 
> is to enumerate the various formats that are supported. E.g., 
> "image/jpeg image/png ..."

If enumeration is good enough, can't we tell people to define their own 
schema for a well-known attribute, as Gudge outlined? IIRC lack of 
support for /* was the only downside of that approach.

--
Mark Nottingham   Principal Technologist
Office of the CTO   BEA Systems
Received on Thursday, 1 April 2004 19:08:09 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:08:52 GMT