[Dev] proposal: using a common mime type for TEI files

Thorsten Trippel thorsten.trippel at uni-tuebingen.de
Thu Jun 16 16:41:06 CEST 2016


Dear all,

the problem is not sooo easy: TEI is "only" a framework and the IDS TEI 
and the BBAW TEI differ. Hence for example a webservice relying on the 
mime type may require the IDS flavor of TEI, another one the BBAW 
flavor. I don't see how this can be expressed in terms of mimetypes 
though, but we need to be able to specify this somewhere. It is almost 
as good as saying "CMDI" without saying according to which profile. 
Unless of course the tools really interpret all profiles or all TEI flavors.

So we need to be able to distinguish
TEI-BBAW flavor XML
and
TEI-IDS flavor XML somehow

(and TEI-HZSK flavor and probably some others)

Sorry that I don't have a solution, but the tools need some form of 
knowing of the format if they are not general enough.

Cheers

Thorsten

Am 16.06.16 um 15:51 schrieb Dieter Van Uytvanck:
> Dear Standards Committee and CLARIN developers,
>
> During the test procedure of the Language Resource switchboard we
> discovered that there are various ways to refer to the mimetype of TEI
> files, some examples in the wild:
>
> http://hdl.handle.net/10932/00-01B8-B32C-BBDA-A601-0
> uses "text/xml" (IDS)
>
> http://hdl.handle.net/11858/00-203C-0000-0029-FA2E-A
> uses "application/xml" (BBAW)
>
> Of course this is correct, but a bit underspecified.
>
> Now there is a IANA-approved
> (http://www.iana.org/assignments/media-types/media-types.xhtml) RFC that
> recommends to use "application/tei+xml":
>
> http://tools.ietf.org/html/rfc6129
>
> Hence my proposal for a CLARIN recommendation to use
> "application/tei+xml" for TEI files. Would you agree? Or did I overlook
> something?
>
> best regards,
>


-- 
----------------------------------------------------------------------------
///////// Dr. Thorsten Trippel   thorsten.trippel at uni-tuebingen.de
    //     Seminar für Sprachwissenschaft
   //  //  Eberhard-Karls-Universität Tübingen
  //  //   Office:  Wilhelmstr. 19 #2.17
     //    Phone:   +49 (0)7071-29-77352
///////// Federal Republic of Germany
-----------------------------------------------------------------------------


More information about the Dev mailing list