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

Re: Feedback on Internet Media Types and the Web

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 10 Feb 2011 16:10:28 +0100
Message-ID: <4D53FFE4.60009@gmx.de>
To: Chris Lilley <chris@w3.org>
CC: "Eric J. Bowman" <eric@bisonsystems.net>, Larry Masinter <masinter@adobe.com>, "www-tag@w3.org" <www-tag@w3.org>
On 10.02.2011 15:57, Chris Lilley wrote:
> On Thursday, February 10, 2011, 1:53:59 PM, Julian wrote:
>
> JR>  My understanding is that we only need to define a notation if there's a
> JR>  common way to handle those media types. I can see that for +xml and
> JR>  +json, but I am not so sure about +zip...
>
> I agree that the benefit of a suffixed notation +toto is that some class of handling can be done for all foo/bar+toto even if you don't recognise bar (or foo).
>
> For +xml, that handling is
> - parsing
> - well formedness checking
> - validation
> - looking for namespaces you recognise
> - handing a dom to some other process
>
> For +json I guess it would be
> - convert to an internal JavaScript structure
> - throw exceptions if malformed
> - pass to some other process

Yes.

> For +zip:
> - display contents of zipfile (as a tree-like filebrowser)
> - look for particular things inside (manifest.xml)
> - offer to extract some, rather than all, of the contents

Is any of these three above something you *want* to happen when opening 
an ePub file?

Best regards, Julian
Received on Thursday, 10 February 2011 15:11:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:30 GMT