CoreData application saves XML-store document without creator/type information
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