• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData application saves XML-store document without creator/type information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData application saves XML-store document without creator/type information


  • Subject: CoreData application saves XML-store document without creator/type information
  • From: Kaspar Fischer <email@hidden>
  • Date: Thu, 27 Oct 2005 16:37:28 +0200

Hi all,

My CoreData application supports XML and SQL stores. If
I create a new document and save it in SQL-format, its
icon shows correctly in the Finder. If I save it in XML-
format, it does not.

A closer inspection reveals that in the latter case, the
file's creator and type are not set (by Cocoa, I guess?):

  kfkf:~ kfkf$ /Developer/Tools/GetFileInfo ~/Desktop/Untitled.xml
  file: "/Users/kfkf/Desktop/Untitled.xml"
  type: ""
  creator: ""
  attributes: avbstclinmEdz
  created: 10/27/2005 16:29:59
  modified: 10/27/2005 16:29:59

And really, if I do a

  /Developer/Tools/SetFile -c hbf0 -t aiRX ~/Desktop/Untitled.xml

then the Finder shows the icon as expected.

What could be the cause of this problem?

Thanks,
Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData application saves XML-store document without creator/type information
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Deployment build from Tiger not running on Panther
  • Next by Date: Re: Getting a list of all the applications available on the harddrive
  • Previous by thread: Re: text size and text color
  • Next by thread: Re: CoreData application saves XML-store document without creator/type information
  • Index(es):
    • Date
    • Thread