Bug 1310

Summary: Wrong entry for DICOM
Product: shared-mime-info Reporter: Artur Frysiak <wiget>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Artur Frysiak 2004-09-08 14:26:24 UTC
freedesktop.org.xml.in have wrong entry about DICOM. It have wrong mime-type
(image/x-dcm instead of application/dicom) and wrong magic.
Acording to DICOM specification (part 10 page 20-21
http://medical.nema.org/dicom/2003/03_10PU.PDF ) and RFC 3240 (Digital Imaging
and Communications in Medicine (DICOM) - Application/dicom MIME Sub-type
Registration)
it must look like this:
<mime-type type="application/dicom">
  <_comment>Digital Imaging and Communications in Medicine image</_comment>
  <magic priority="50">
    <match type="string" value="DICM" offset="128"/>
  </magic>
  <glob pattern="*.dcm"/>
</mime-type>

Please add this entry and remove <mime-type type="image/x-dcm"> entry.
Comment 1 Christophe Fergeau 2004-12-10 11:04:20 UTC
Fixed in CVS.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.