You should not use globs and magic, but the <root-XML/> element in the mimetype definition to recognize your file. Look it up in the shared-mime-info specification - it has two attributes: localName tells the name of the root element, and namespaceURI the root namespace. However, this element expects the XML file to have a root namespace defined (like all correct XML documents should), which your example doesn't.
Is this related to http://www.openspml.org/ ? Regards, Krzysztof Kosiński -- View this message in context: http://www.nabble.com/XML-MIME-type-recognition-tp21217597p21686851.html Sent from the Gnome - Nautilus mailing list archive at Nabble.com. -- nautilus-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nautilus-list
