• 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: why would I get <true></true> in coredata metadata plist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: why would I get <true></true> in coredata metadata plist?
      • From: Jesse Grosjean <email@hidden>
  • Prev by Date: Re: NSCalendar bug with adding to pre-1919 dates?
  • Next by Date: Re: Need Help Please....Truncation Mode for Window Title
  • Previous by thread: Re: NSCalendar bug with adding to pre-1919 dates?
  • Next by thread: Re: why would I get <true></true> in coredata metadata plist?
  • Index(es):
    • Date
    • Thread