summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in4
-rw-r--r--tests/mime-detection/list2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 326c623..5727c16 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -5927,7 +5927,7 @@ command to generate the output files.
<match type="string" value="DICM" offset="128"/>
</magic>
</mime-type>
- <mime-type type="application/x-docbook+xml">
+ <mime-type type="application/docbook+xml">
<comment>DocBook document</comment>
<sub-class-of type="application/xml"/>
<generic-icon name="x-office-document"/>
@@ -5939,7 +5939,7 @@ command to generate the output files.
</magic>
<glob pattern="*.dbk"/>
<glob pattern="*.docbook"/>
- <alias type="application/docbook+xml"/>
+ <alias type="application/x-docbook+xml"/>
<alias type="application/vnd.oasis.docbook+xml"/>
</mime-type>
<mime-type type="image/x-dib">
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 47948a5..b9b2aa6 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -502,7 +502,7 @@ test.raml application/raml+yaml
helloworld.hqx application/mac-binhex40
# xml subtypes
-../../data/shared-mime-info-spec.xml application/x-docbook+xml xox
+../../data/shared-mime-info-spec.xml application/docbook+xml xox
test.ttx application/x-font-ttx
gtk-builder.ui application/x-gtk-builder x
project.glade application/x-glade