The spec says:
"glob elements have a pattern attribute. Any file whose name matches this 
pattern will be given this MIME type (subject to conflicting rules in other 
files, of course)."

Which I read as: FILE.DOC is always application/msword unless there is
sufficient proof it is something else.

"magic elements contain a list of match elements, any of which may
match, and an optional priority attribute for all of the contained
rules. Low numbers should be used for more generic types (such as 'gzip
compressed data') and higher values for specific subtypes (such as a
word processor format that happens to use gzip to compress the file).
The default priority value is 50, and the maximum is 100."

This makes me conclude: FILE.DOC is application/msword even though there
is a conflicting magic match from application/x-msi, but since that one
only has a default priority of 50, FILE.DOC mustn't be of
application/x-msi.

-- 
icon for ms-word file *.doc is "?" instead of ooo-word
https://bugs.launchpad.net/bugs/285831
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-runtime in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to