When the XML describing the mimetype is in a folder which contains a space, xdg-mime does not install it. Otherwise the file works fine.
I tried it in two different ways:
> xdg-mime install "/home/dev/my folder/my-mfe.xml"
> xdg-mime install /home/dev/my\ folder/my-mfe.xml
Note that using the same XML file just in a different location, the following worked:
> xdg-mime install /home/dev/myfolderwithoutaspace/my-mfe.xml
Just for completeness' sake, here is my XML:
<?xml version="1.0" encoding="UTF-8"?>
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdgmime/issues/20.