[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to properly register a program in KDE/GNOME



Daniel Leidert wrote:
>> $ xdg-mime query filetype bla.mm
>> text/plain
>> $ xdg-mime query filetype New\ Mindmap.mm
>> text/html
>> (the 2nd file has some HTML embedded)
> 
> Ok, that's the problem. If it was XML it must have had the XML
> declaration: <?xml version=...?>. But freemind files do not start with
> it. So it cannot be of sub-type of application/xml or text/xml. My
> fault.

The XML declaration is optional. A document can still be application/xml 
without the declaration.

-- 
Nicolas

I read mailing lists through Gmane. Please don't Cc me on replies; it makes 
me get one message on my newsreader and another on email.


Reply to: