• 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
Re: Core Data + XML files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data + XML files


  • Subject: Re: Core Data + XML files
  • From: mmalcolm crawford <email@hidden>
  • Date: Thu, 19 May 2005 19:07:43 -0700


On May 19, 2005, at 6:41 PM, Jacob Lukas wrote:

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.
I didn't write a single line of code, I just edited the target's document types. I even checked the CoreData Document-Based Application template to make sure it was right. Still no luck.

In which case the information in the Document Types Info for your application is probably inconsistent -- the XML store document type probably uses the same extension as one of the other document types that uses a different store type.

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
References: 
 >Re: Core Data + XML files (From: Jacob Lukas <email@hidden>)

  • Prev by Date: Re: Core Data + XML files
  • Next by Date: Re: Core Data + XML files
  • Previous by thread: Re: Core Data + XML files
  • Next by thread: Re: Core Data + XML files
  • Index(es):
    • Date
    • Thread