Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Markus Müller
Hello. I have a problem in my document-based application related to UTIs. I'd like to allow importing of FreeMind files (Extension: mm). I added the following definition to my info.plist keyUTImportedTypeDeclarations/key array dict keyUTTypeConformsTo/key array stringpublic.xml/string

Re: Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Sean McBride
On 5/29/08 3:20 PM, Markus Müller said: Could it be that it's not allowed to have UTIs with overlapping extensions? Bingo. LaunchServices does a 1-to-1 mapping between a file and a UTI. That is, a file can have only 1 UTI. So if two UTI declarations claim the same extension you are screwed.

Re: Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Markus Müller
Thank you for your answer. I filled a radar describing this issue. Best regards, Markus Müller On Thu, May 29, 2008 at 4:55 PM, Sean McBride [EMAIL PROTECTED] wrote: On 5/29/08 3:20 PM, Markus Müller said: Could it be that it's not allowed to have UTIs with overlapping extensions? Bingo.