strings files are not true dictionary files in the sense of NS or CF 
dictionaries, so you can't treat them like an xml file (plist)

you can parse them line by line, manually, if you want to read them in.  unless 
there's another way i don't know about.


On Nov 20, 2011, at 9:33 PM, Gideon King wrote:

> Hi, I'm trying to use NSDictionary's dictionaryWithContentsOfFile: method and 
> am getting an error: CFPropertyListCreateFromXMLData(): Old-style plist 
> parser: missing semicolon in dictionary.
> 
> The entire file is of the format:
> 
> /*some comment */
> "Some string" = "Some other string";
> 
> Clearly there is some formatting error in the file but it is a rather large 
> file and would take a very long time to manually go through and find the 
> issue - is there some tool available that will tell me where to look in the 
> file for the error?
> 
> Thanks
> 
> Gideon

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to