Use URI form for format attribute in manifest.xml #20

FreakyBytes opened this Issue Jan 30, 2017 · 0 comments


None yet
1 participant

FreakyBytes commented Jan 30, 2017

Trac Ticket #18

component: code
owner: Martin Scharm
reporter: florian
created: 2014-09-03 15:55:24
type: task

The format attributes in the manifest.xml should always be provided in URI form either as URI or URI (for Internet Media types). URIs are to be preferred over URIs.

For compatability, old COMBINE archives with Media type names should still be supported.

See:: COMBINE Archive Specification, Version 1, Release Candidate 2, Subsection 3.7

comment 1

time: 2014-09-08 20:58:24
author: martin

mmh. seems to be kind of problematic. what's the uri for bmp images? thought i can just prefix the mime types with (as in

but even for very basic mimes that does not work:

any ideas?

comment 2

time: 2014-09-09 16:07:09
author: florian

Media types as defined by IANA can be found here:

comment 3

time: 2014-09-22 21:57:51
author: Martin Scharm

In None:

[special attention] formats are now URIs [fixes #18]

that, unfortunately, has some implications for backwards compatibility. formats
should now always be provided in form of URIs. old versions are still available,
but deprecated. functions returning the format will exlusively return URIs.

all the formatizing stuff was outsourced to our combine extension project,
available from git:// (see also especially the formatizer will be
interesting for you:

thus, you should definetly update your code.

comment 4

time: 2014-09-22 21:57:51
author: Martin Scharm

Updated owner to Martin Scharm

comment 5

time: 2014-09-22 21:57:51
author: Martin Scharm

Updated resolution to fixed

comment 6

time: 2014-09-22 21:57:51
author: Martin Scharm

Updated status to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment