W3C home > Mailing lists > Public > public-ddwg@w3.org > October 2007

Re: [VOC] MIME Types

From: JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>
Date: Mon, 01 Oct 2007 23:19:17 +0200
To: Andrea Trasatti <atrasatti@mtld.mobi>
Cc: public-ddr-vocab@w3.org, public-ddwg@w3.org
Message-id: <fa4e6a981692.1692fa4e6a98@tid.es>
Hi, 

As a follow-up of my proposal on "subproperties", and taking into
account that the MIME type is bound to a media, What about something like

ddr.getProperty("supportedImageFormats").get("gif").getProperty("MIMEType")

Best Regards

----
José Manuel Cantera Fonseca
Telefónica I+D


----- Mensaje original -----
De: Andrea Trasatti <atrasatti@mtld.mobi>
Fecha: Lunes, Octubre 1, 2007 5:58 pm
Asunto: [VOC] MIME Types
Para: public-ddr-vocab@w3.org
CC: public-ddwg@w3.org

> 
> While working on the Core Vocabulary and trying to represent the 
> new  
> proposed structure of properties as sets of values I wondered about 
> 
> MIME Types.
> There are some markups or image formats that share the same MIME  
> Type, think of application/xml (all XHTML) or image/gif (any type 
> of  
> GIF image), but there are some contents that might have more than 
> one  
> MIME Type, think of XHTML that can be associated with 
> application/xml  
> and also text/html or JPEG images that are often served as 
> image/jpg  
> and image/jpeg and the same with MPEG and MP3 files.
> 
> How should we represent these? Should these be strings (so list 
> only  
> the preferred one in case of multiple) or should they be sets of  
> values or ordered lists? An ordered list would allow us to have  
> multiple values and at the same time define which is the preferred  
> MIME Type to use.
> jpegMimeType would then be 'image/jpg, image/jpeg' where the first 
> is  
> the preferred one.
> 
> This seems to me the best approach but would fall down into 
> requiring  
> a property for every type thus canceling the advantage of using  
> something like "imageFormat" as a property to list all supported  
> image formats.
> 
> I think we need some feedback from those individuals and companies  
> that already worked with these data structures for their vocabularies.
> 
> - Andrea
> 
> 

Received on Monday, 1 October 2007 21:19:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:13:51 GMT