# Mimetype ADL

**URL:** https://discourse.openehr.org/t/mimetype-adl/15243
**Category:** Technical (archive)
**Created:** [15 April 2013 17:44 UTC](https://discourse.openehr.org/t/mimetype-adl/15243 "2013-04-15T17:44:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [15 April 2013 17:44 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/1 "2013-04-15T17:44:11Z")

</div>

Hi,

Is there a mimetype defined for ADL-files?

And if not, what is advised to use?

Thanks  
Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [16 April 2013 06:14 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/2 "2013-04-16T06:14:22Z")

</div>

Hi,

Is there a mimetype defined for ADL-files?

And if not, what is advised to use?

Thanks  
Bert

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [17 April 2013 09:10 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/3 "2013-04-17T09:10:16Z")

</div>

There's no dedicated one; a text type should do, but remember ADL is UTF-8. I haven't looked up the rules on that but if text/plain allows UTF-8, then I would use that.

- thomas

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [17 April 2013 09:16 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/4 "2013-04-17T09:16:21Z")

</div>

Thanks, 😉

Bert

---

<div class="post-metadata">

### Author: ![Heath\_Frankel3](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/h/e19b73/32.png) [@Heath\_Frankel3](https://discourse.openehr.org/u/Heath_Frankel3)
#### Post date: [17 April 2013 22:26 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/5 "2013-04-17T22:26:45Z")

</div>

Hi Thomas,  
The value of more specific mime types is that application using the file can determine how to handle the file such as launching an associated application to view it.  
XML is just text/plain but it is recommended to be application/xml.  
I suggest we look into the process of registering a mime type with IANA, such as application/adl.  
Heath

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [18 April 2013 08:04 UTC](https://discourse.openehr.org/t/mimetype-adl/15243/6 "2013-04-18T08:04:15Z")

</div>

I think it is a good idea. But it will take time, which is understandable.

I wonder, will it be fairly safe to anticipate already on this registration?

Bert
