Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
FreakyBytes opened this issue Jan 30, 2017 · 0 comments
Closed

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

FreakyBytes opened this issue Jan 30, 2017 · 0 comments

Comments

@FreakyBytes
Copy link
Member

Trac Ticket #18

component: code
owner: Martin Scharm martin@binfalse.de
reporter: florian
created: 2014-09-03 15:55:24
milestone:
type: task
version:
keywords:

The format attributes in the manifest.xml should always be provided in URI form either as Identifiers.org URI or purl.org URI (for Internet Media types).

Identifiers.org URIs are to be preferred over purl.org 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 http://mediatypes.appspot.com/..? (as in http://mediatypes.appspot.com/image/png)

but even for very basic mimes that does not work: http://mediatypes.appspot.com/image/bmp

any ideas?

comment 2

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

Media types as defined by IANA can be found here:
https://www.iana.org/assignments/media-types/media-types.xhtml

comment 3

time: 2014-09-22 21:57:51
author: Martin Scharm martin@binfalse.de

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://sems.uni-rostock.de:combine-ext (see also
https://sems.uni-rostock.de/trac/combine-ext). especially the formatizer will be
interesting for you:
https://sems.uni-rostock.de/trac/combine-ext/wiki/CombineFormatizer

thus, you should definetly update your code.

comment 4

time: 2014-09-22 21:57:51
author: Martin Scharm martin@binfalse.de

Updated owner to Martin Scharm martin@binfalse.de

comment 5

time: 2014-09-22 21:57:51
author: Martin Scharm martin@binfalse.de

Updated resolution to fixed

comment 6

time: 2014-09-22 21:57:51
author: Martin Scharm martin@binfalse.de

Updated status to closed

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

No branches or pull requests

1 participant