• 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: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData


  • Subject: Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
  • From: Kaelin Colclasure <email@hidden>
  • Date: Fri, 10 Mar 2006 16:54:06 -0800


On Mar 10, 2006, at 4:16 PM, Pierre Bernard wrote:

Hi!

All of a sudden my application started printing the following error message:

2006-03-11 01:13:07.473 HoudahSpot[8542] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be:
/Users/pierre/Development/build/Debug/HoudahSpot.app/Contents/ Resources/MyDocument.mom
The parser will retry as in 10.2, but the problem should be corrected in the plist.


Now the culprit can not be the MyDocument.mom file. That one is generated by xCode at compile time.

After some debugging I narrowed the problem down to the following line in my code:

NSString *name = (NSString*) MDSchemaCopyDisplayNameForAttribute ((CFStringRef) key);

The error is printed the first time this is called.

Now that I can make no sense of. I take it this reads some localized PLIST somewhere deep within the system. That would not have changed in ages.


The plist in question would have come from an importer bundle... You might try watching fs_usage while you reproduce the error to narrow down which bundle.


HTH,

-- Kaelin

_______________________________________________
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: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
      • From: Pierre Bernard <email@hidden>
    • Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
      • From: Ryan Britton <email@hidden>
References: 
 >MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Core Data Fetch Error
  • Next by Date: movie trailers from apple.com
  • Previous by thread: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
  • Next by thread: Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
  • Index(es):
    • Date
    • Thread