Re: Feedback on Internet Media Types and the Web

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 UTC