Re: Core Data + XML files
Re: Core Data + XML files
- Subject: Re: Core Data + XML files
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 19 May 2005 18:24:21 -0700
On May 19, 2005, at 6:07 PM, Jacob Lukas wrote:
I tried saving my file in all three formats (SQL, Binary, XML). All
work. Tried loading those files. SQL and Binary both load fine.
However, the XML file throws this error: "The document
"Untitiled.timeit" could not be opened. The store type is
inconsistent with the data format." Has anyone else come across
this error? What am I doing wrong?
Either you didn't save the file as an XML document (you probably
didn't specify NSXMLStoreType as the type argument to
migratePersistentStore:toURL:options:withType:error:), or when you
read it in the argument you provide to addPersistentStoreWithType:...
is something other than NSXMLStoreType.
mmalc
_______________________________________________
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