Re: why would I get <true></true> in coredata metadata plist?
Re: why would I get <true></true> in coredata metadata plist?
- Subject: Re: why would I get <true></true> in coredata metadata plist?
- From: Greg Herlihy <email@hidden>
- Date: Wed, 01 Mar 2006 01:13:50 -0800
- Thread-topic: why would I get <true></true> in coredata metadata plist?
<true></true> and <true/> are semantically equivalent in XML, so replacing
one for the other is not going to cause any errors. And in fact the error
reported is not in a "true" element at all but in a "false" one somewhere
else.
You could try the "xmllint" command line utility and see where in the
document it reports an error.
Greg
On 2/28/06 2:04 PM, "Jesse Grosjean" <email@hidden> wrote:
> I'm getting this error when trying to load a core data document:
>
> XML parser error:
> Encountered non-empty <false> tag on line 1
> Old-style plist parser error:
> Malformed data byte group at line 1; invalid hex
>
> Because the metadata plist has <true></true> in it instead of just
> <true/>.
>
> Does anyone know what could cause <true></true> to get written out
> instead of <true/>. I'm using standard
>
> setMetadata:forPersistentStore:
>
> to add the metadata. And I don't get any save errors, so I think all
> the plist objects in the metadata are valid. Any ideas of what I'm
> doing wrong?
>
> Thanks,
> Jesse
> _______________________________________________
> 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