I have a program that is going to be receiving info displayed in it from a .plist on my server. However, I am going to be making this for PC, and I’m using Java to do so. Plist files aren’t conventional XML, so common XML parsing libraries don’t work. I can’t locate any plist specific parsers, so I am lost on how to continue. The way I see it my options are:
a) Locate such a parser for the plist file
b) Make a workaround using a regular XML parser
c) Change the file the program gets its data from (undesirable)
Has anyone else had any experience with plists in languages other than Objective-C?
As @Jochen Bedersdorfer notes,
.plistfiles are XML with a well-formed DTD. Useplutilto convert them from binary to text form.Addendum: In a comment, you asked
Not necessarily. Here’s some history on the subject.