forked from eXist-db/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mime-types.xml.tmpl
419 lines (376 loc) · 16.4 KB
/
mime-types.xml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<?xml version="1.0" encoding="UTF-8"?>
<!--
======================================================
This file lists all mime types known to eXist.
When storing a document with the Java client, the type
of the resource is looked up here. A resource will be
stored as an XML or a binary resource, depending on the
"type" attribute of the corresponding mime-type entry.
In MimeTable.java mime-types.xml is first searched in
directory pointed by property "home.exist",
and then as a classpath resource in org/exist/util .
=======================================================
$Id$
-->
<mime-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema/mime-types.xsd">
<!-- Mime types stored as XML -->
<mime-type name="application/xml" type="xml">
<description>XML document</description>
<extensions>.xml,.xsd,.rng,.mods,.xmp,.xmi,.xconf,.xmap,.xsp,.wsdl,.x3d,.owl,.dbx,.tei,.xces,.ead,.xqx,.xform,.gml,.fo,.nvdl,.sch,.imdi,.cmdi,.odd,.jcmconnect,.ditaval</extensions>
</mime-type>
<!-- default is 'application/xml' for .xml This required to resolve 'text/xml' -->
<mime-type name="text/xml" type="xml">
<description>Deprecated XML document</description>
<extensions>.xml</extensions>
</mime-type>
<mime-type name="application/xslt+xml" type="xml">
<description>XSL document</description>
<extensions>.xsl,.xslt</extensions>
</mime-type>
<mime-type name="application/stx+xml" type="xml">
<description>STX document</description>
<extensions>.stx</extensions>
</mime-type>
<mime-type name="application/rdf+xml" type="xml">
<description>RDF document</description>
<extensions>.rdf,.rdfs</extensions>
</mime-type>
<mime-type name="application/xhtml+xml" type="xml">
<description>XHTML document</description>
<extensions>.xhtml,.xht</extensions>
</mime-type>
<mime-type name="text/html" type="xml">
<description>HTML document</description>
<extensions>.html,.htm</extensions>
</mime-type>
<mime-type name="application/atom+xml" type="xml">
<description>Atom Feed Document</description>
<extensions>.atom</extensions>
</mime-type>
<mime-type name="image/svg+xml" type="xml">
<description>SVG image</description>
<extensions>.svg,.svgz</extensions>
</mime-type>
<mime-type name="application/xml+xproc" type="xml">
<description>XML pipeline (XProc)</description>
<extensions>.xpl,.xproc</extensions>
</mime-type>
<mime-type name="application/oebps-package+xml" type="xml">
<description>Open Packaging Format (OPF) Document</description>
<extensions>.opf</extensions>
</mime-type>
<mime-type name="application/x-dtbncx+xml" type="xml">
<description>Navigation Control file for XML (NCX) Document</description>
<extensions>.ncx</extensions>
</mime-type>
<mime-type name="application/scm+xml" type="xml">
<description>Schema Component Model</description>
<extensions>.scm</extensions>
</mime-type>
<!-- Binary mime types -->
<mime-type name="application/exi" type="binary">
<description>Efficient XML Interchange</description>
<extensions>.exi</extensions>
</mime-type>
<mime-type name="application/xquery" type="binary">
<description>XQuery script</description>
<extensions>.xq,.xql,.xqm,.xquery,.xqy,.xqws</extensions>
</mime-type>
<mime-type name="application/octet-stream" type="binary">
<description>Generic binary stream</description>
<extensions>.jar,.exe,.dll,.o</extensions>
</mime-type>
<mime-type name="application/json" type="binary">
<description>JSON</description>
<extensions>.json</extensions>
</mime-type>
<!-- TODO : for OpenOffice.org and other Zip files: add a new type="archive",
that will unzip and store as a collection -->
<mime-type name="application/zip" type="binary">
<description>ZIP archive</description>
<extensions>.zip</extensions>
</mime-type>
<mime-type name="application/epub+zip" type="binary">
<description>EPUB document</description>
<extensions>.epub</extensions>
</mime-type>
<mime-type name="application/expath+xar" type="binary">
<description>package XAR archive</description>
<extensions>.xar</extensions>
</mime-type>
<!-- OpenOffice.org - Open Document -->
<mime-type name="application/vnd.oasis.opendocument.text" type="binary">
<description>OpenOffice.org Text Document</description>
<extensions>.odt</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.presentation" type="binary">
<description>OpenOffice.org Presentation</description>
<extensions>.odp</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.spreadsheet" type="binary">
<description>OpenOffice.org spreadsheet</description>
<extensions>.ods</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.graphics" type="binary">
<description>OpenOffice.org Drawing</description>
<extensions>.odg</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.chart" type="binary">
<description>OpenOffice.org Diagram Chart</description>
<extensions>.odc</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.formula" type="binary">
<description>OpenOffice.org Formula</description>
<extensions>.odf</extensions>
</mime-type>
<!-- .odb have several mime-types, first is default -->
<mime-type name="application/vnd.oasis.opendocument.database" type="binary">
<description>OpenOffice.org Data Base</description>
<extensions>.odb</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.base" type="binary">
<description>OpenOffice.org Data Base</description>
<extensions>.odb</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.image" type="binary">
<description>OpenOffice.org Image</description>
<extensions>.odi</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.text-master" type="binary">
<description>OpenOffice.org Main Document</description>
<extensions>.odm</extensions>
</mime-type>
<!-- OpenDocument models -->
<mime-type name="application/vnd.oasis.opendocument.text-template" type="binary">
<description>OpenOffice.org formatted Text model</description>
<extensions>.ott</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.spreadsheet-template" type="binary">
<description>OpenOffice.org spreadsheet model</description>
<extensions>.ots</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.presentation-template" type="binary">
<description>OpenOffice.org Presentation model</description>
<extensions>.otp</extensions>
</mime-type>
<mime-type name="application/vnd.oasis.opendocument.graphics-template" type="binary">
<description>OpenOffice.org Drawing model</description>
<extensions>.otg</extensions>
</mime-type>
<!-- OpenOffice.org - versions 1.X -->
<mime-type name="application/vnd.sun.xml.writer" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxw</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.writer.template" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.stw</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.writer.global" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxg</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.calc" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxc</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.calc.template" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.stc</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.impress" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxi</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.impress.template" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sti</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.draw" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxd</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.draw.template" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.std</extensions>
</mime-type>
<mime-type name="application/vnd.sun.xml.math" type="binary">
<description>OpenOffice.org Document</description>
<extensions>.sxm</extensions>
</mime-type>
<!-- Microsoft Office -->
<mime-type name="application/msword" type="binary">
<description>Microsoft Word Document</description>
<extensions>.doc</extensions>
</mime-type>
<mime-type name="application/vnd.ms-powerpoint" type="binary">
<description>Microsoft Powerpoint Document</description>
<extensions>.ppt</extensions>
</mime-type>
<mime-type name="application/vnd.ms-excel" type="binary">
<description>Microsoft Excel Document</description>
<extensions>.xls</extensions>
</mime-type>
<mime-type name="application/vnd.visio" type="binary">
<description>Microsoft Visio Document</description>
<extensions>.vsd</extensions>
</mime-type>
<!-- OOXML -->
<mime-type name="application/vnd.openxmlformats-officedocument.wordprocessingml.document" type="binary">
<description>OOXML Text Document</description>
<extensions>.docx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.wordprocessingml.template" type="binary">
<description>OOXML Text Template</description>
<extensions>.dotx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.presentationml.template" type="binary">
<description>OOXML Presentation Template</description>
<extensions>.potx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.presentationml.presentation" type="binary">
<description>OOXML Presentation</description>
<extensions>.pptx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.presentationml.slideshow" type="binary">
<description>OOXML Presentation Slideshow</description>
<extensions>.ppsx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" type="binary">
<description>OOXML Spreadsheet</description>
<extensions>.xlsx</extensions>
</mime-type>
<mime-type name="application/vnd.openxmlformats-officedocument.spreadsheetml.template" type="binary">
<description>OOXML Spreadsheet Template</description>
<extensions>.xltx</extensions>
</mime-type>
<mime-type name="application/xml-dtd" type="binary">
<description>External DTD subsets</description>
<extensions>.dtd,.mod</extensions>
</mime-type>
<mime-type name="application/xml-external-parsed-entity" type="binary">
<description>External parsed entities</description>
<extensions>.ent</extensions>
</mime-type>
<mime-type name="application/vnd.adobe.flash-movie" type="binary">
<description>Adobe Flash Movie</description>
<extensions>.swf</extensions>
</mime-type>
<mime-type name="video/vnd.avi" type="binary">
<description>Audio Video Interleaved</description>
<extensions>.avi</extensions>
</mime-type>
<mime-type name="video/webm" type="binary">
<description>WebM</description>
<extensions>.webm</extensions>
</mime-type>
<mime-type name="text/x-java-source" type="binary">
<description>Java source code</description>
<extensions>.java</extensions>
</mime-type>
<mime-type name="application/java-byte-code" type="binary">
<description>Java byte code</description>
<extensions>.class</extensions>
</mime-type>
<mime-type name="application/relax-ng-compact-syntax" type="binary">
<description>RelaxNG compact syntax</description>
<extensions>.rnc</extensions>
</mime-type>
<mime-type name="application/prs.aff-dictionary" type="binary">
<description>Affix File Format</description>
<extensions>.aff</extensions>
</mime-type>
<mime-type name="application/prs.dictionary" type="binary">
<description>Dictionary File Format</description>
<extensions>.dic</extensions>
</mime-type>
<mime-type name="text/csv" type="binary">
<description>Comma Seperated Values</description>
<extensions>.csv</extensions>
</mime-type>
<mime-type name="text/plain" type="binary">
<description>Plain text</description>
<extensions>.txt,.text,.properties,.sh</extensions>
</mime-type>
<mime-type name="text/markdown" type="binary">
<description>Markdown</description>
<extensions>.md</extensions>
</mime-type>
<mime-type name="text/css" type="binary">
<description>CSS stylesheet</description>
<extensions>.css</extensions>
</mime-type>
<!-- DITA -->
<mime-type name="application/dita+xml" type="xml">
<description>DITA document</description>
<extensions>.dita,.ditamap</extensions>
</mime-type>
<!-- Bitmaps -->
<mime-type name="image/png" type="binary">
<description>PNG image</description>
<extensions>.png</extensions>
</mime-type>
<mime-type name="image/gif" type="binary">
<description>GIF image</description>
<extensions>.gif</extensions>
</mime-type>
<mime-type name="image/jpeg" type="binary">
<description>JPEG image</description>
<extensions>.jpg,.jpeg</extensions>
</mime-type>
<mime-type name="image/x-portable-bitmap" type="binary">
<description>PBM Bitmap Format</description>
<extensions>.pbm</extensions>
</mime-type>
<mime-type name="image/bmp" type="binary">
<description>Windows Bitmap Image</description>
<extensions>.bmp</extensions>
</mime-type>
<mime-type name="image/tiff" type="binary">
<description>Tag Image File Format</description>
<extensions>.tif</extensions>
</mime-type>
<mime-type name="image/x-xbitmap" type="binary">
<description>X Bitmap Graphic</description>
<extensions>.xbm</extensions>
</mime-type>
<mime-type name="image/vnd.microsoft.icon" type="binary">
<description>Icon image</description>
<extensions>.ico</extensions>
</mime-type>
<!-- Misc -->
<mime-type name="application/pdf" type="binary">
<description>PDF (Adobe)</description>
<extensions>.pdf</extensions>
</mime-type>
<mime-type name="application/postscript" type="binary">
<description>PostScript Document</description>
<extensions>.eps,.ps</extensions>
</mime-type>
<mime-type name="application/javascript" type="binary">
<description>JavaScript</description>
<extensions>.js</extensions>
</mime-type>
<mime-type name="application/less" type="binary">
<description>Less</description>
<extensions>.less</extensions>
</mime-type>
<!-- Media types -->
<mime-type name="audio/mpeg" type="binary">
<description>MPEG Audio</description>
<extensions>.mp2,.mp3,.mpga</extensions>
</mime-type>
<mime-type name="video/mpeg" type="binary">
<description>MPEG Video</description>
<extensions>.mpg,.mpeg</extensions>
</mime-type>
<mime-type name="video/mp4" type="binary">
<description>MP4 Video</description>
<extensions>.mp4</extensions>
</mime-type>
<!-- Font types -->
<mime-type name="application/font-woff" type="binary">
<description>WOFF File Format</description>
<extensions>.woff</extensions>
</mime-type>
</mime-types>