• 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: Validating dictionary strings file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating dictionary strings file


  • Subject: Re: Validating dictionary strings file
  • From: Brian Krent <email@hidden>
  • Date: Mon, 21 Nov 2011 00:13:46 -0600

For validation, try "plutil -lint yourFile.plist" in the Terminal. Also, use curly braces for dictionaries in old-style ASCII plists.

👱 Brian Krent

On Nov 20, 2011, at 11:33 PM, Gideon King <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Validating dictionary strings file
      • From: Kyle Sluder <email@hidden>
    • Re: Validating dictionary strings file
      • From: Gideon King <email@hidden>
References: 
 >Validating dictionary strings file (From: Gideon King <email@hidden>)

  • Prev by Date: Validating dictionary strings file
  • Next by Date: Re: Validating dictionary strings file
  • Previous by thread: Validating dictionary strings file
  • Next by thread: Re: Validating dictionary strings file
  • Index(es):
    • Date
    • Thread