summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2020-12-26 10:10:03 +0200
committerVille Skyttä <ville.skytta@iki.fi>2020-12-26 10:10:03 +0200
commit073e046e2c9e56445eeb7f456c4b26a47a383aeb (patch)
treeafb1e1dcae38f5b42cf3ca447e32847554746fee
parentb669b044e34b9f31206c949dfdfe5179214b55a1 (diff)
downloadshared-mime-info-073e046e2c9e56445eeb7f456c4b26a47a383aeb.tar.gz
application/oxps: differentiate from /vnd.ms-xpsdocument
Per ECMA 388 appendix E.1, OpenXPS docs must not use *.xps, and vnd.ms-xpsdocument should be be used to identify OpenXPS docs. The types are distinct top level ones in IANA, too. Keep /xps with /vnd.ms-xpsdocument per https://mailarchive.ietf.org/arch/msg/ietf-types/4uBulQrWj9uBBwWgw-LKaopgi58/
-rw-r--r--data/freedesktop.org.xml.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 4d356023..590bfebe 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -752,14 +752,20 @@ command to generate the output files.
<sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
</mime-type>
<mime-type type="application/oxps">
- <comment>XPS document</comment>
- <acronym>XPS</acronym>
+ <comment>OpenXPS document</comment>
+ <acronym>OpenXPS</acronym>
<expanded-acronym>Open XML Paper Specification</expanded-acronym>
<sub-class-of type="application/zip"/>
<generic-icon name="x-office-document"/>
<glob pattern="*.oxps"/>
+ </mime-type>
+ <mime-type type="application/vnd.ms-xpsdocument">
+ <comment>XPS document</comment>
+ <acronym>XPS</acronym>
+ <expanded-acronym>XML Paper Specification</expanded-acronym>
+ <sub-class-of type="application/zip"/>
+ <generic-icon name="x-office-document"/>
<glob pattern="*.xps"/>
- <alias type="application/vnd.ms-xpsdocument"/>
<alias type="application/xps"/>
</mime-type>
<mime-type type="application/vnd.ms-works">