MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
- Subject: MDSchemaCopyDisplayNameForAttribute vs. CFPropertyListCreateFromXMLData
- From: Pierre Bernard <email@hidden>
- Date: Sat, 11 Mar 2006 01:16:53 +0100
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.
Anyone seen something similar? How do I debug this?
TIA
Pierre
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