• 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: Pierre Bernard <email@hidden>
  • Date: Sat, 11 Mar 2006 14:29:29 +0100

Thanks for your reply.

Unfortunately fs_usage led to nowhere.

However a reboot and an AppleJack cure fixed the problem.

Pierre


On Mar 11, 2006, at 1:54 AM, Kaelin Colclasure wrote:


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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData (From: Pierre Bernard <email@hidden>)
 >Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData (From: Kaelin Colclasure <email@hidden>)

  • Prev by Date: registering and use of bindings value transformers
  • Next by Date: Re: Core Data Fetch Error - Followup
  • Previous by thread: Re: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
  • Next by thread: movie trailers from apple.com
  • Index(es):
    • Date
    • Thread