biplist fails to parse a .plist that plutil says is ok
Issue #11
closed
I have a plist file which is reported by plutil as ok (see image)
However, when I try to read it with biplist.readPlist I get the following error:
biplist.InvalidPlistException: XML or text declaration not at start of entity: line 2, column 0
Indeed if you open the file, the XML only starts on the second line... However, the plist is valid and is being used by the OS properly, so I think the library should be able to parse it too.
What do you think?
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
This error is coming from Python's built-in plistlib package for reading plists, which is what biplist falls back on when it detects the plist isn't a binary plist:
So, I'd suggest filing a ticket agains the built-in plistlib library.