Re: CoreData XML error while saving
Re: CoreData XML error while saving
- Subject: Re: CoreData XML error while saving
- From: Niko Matsakis <email@hidden>
- Date: Sat, 8 Oct 2005 10:23:00 +0200
I am not sure, but one thing I found helpful I stole from the
EventManager Core Data sample application: it is a small bit of code
that intercepts errors which occur while saving and displays them in
a little alert box. These haves always been pretty helpful for me to
track down inconsistencies in my model. Look at willPresentError: in
MyDocument.m.
Ordinarily it seems these are ignored, or only a generic message like
"an error occurred" is displayed, I can't recall.
Anyway, if you haven't already you might give that a shot in hopes of
getting a better error message.
Niko
On Oct 7, 2005, at 8:11 AM, Bruno Blondeau wrote:
I'm getting the following error in the console while saving my
CoreData document:
An error occurred creating an XML representation of a valid
property list.
It unfortunately seems to happen a bit randomly (even though I can
reproduce it always using the same data set)
I haven't found any documentation regarding this error message.
What does it mean? What is the probable origin?
Bruno
_______________________________________________
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
_______________________________________________
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