Skip Menu |

This queue is for tickets about the Mac-PropertyList CPAN distribution.

Report information
The Basics
Id: 122610
Status: resolved
Priority: 0/
Queue: Mac-PropertyList

People
Owner: bdfoy [...] cpan.org
Requestors: cpan [...] mohag.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation: ASCII plist files are not supported
Old, NEXTSTEP / OPENSTEP / GNUstep style ASCII plist files are not supported. The interface is not compatible with Data::PropertyList (which seems to support ASCII plist files only) either. This might be useful to mention in the documentation. Info on the old format: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html http://wiki.gnustep.org/index.php?title=Property_Lists
On Wed Jul 26 05:41:52 2017, https://me.yahoo.com/a/2_4mNud8l8NdLATBjOhzq8T0zYDR5vC_ZaLxxQ--#6fc45 wrote: Show quoted text
> Old, NEXTSTEP / OPENSTEP / GNUstep style ASCII plist files are not > supported.
The module is for Mac plists. If you want something else, that's probably a different module. I have no plans to support anything else.
OS X supports the older files read-only as per https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html They might be encountered with some applications primarily targeting other Cocoa implementations, like GNUMail. This ticket is meant as a request to document the limitation. (Implementing support for a rare variant likely does not make sense) (I came across the module looking to decode files generated by a legacy app that uses the format. Currently, it is necessary to look at the source code to confirm that it does not support the format)
From: cpan [...] mohag.net
Apple has a parser here: https://opensource.apple.com/source/CF/CF-855.16/CFOldStylePList.c.auto.html (Likely license compatibility issues...)
I'll include such a note in the next release. I've also made wishlist items for the ASCII and JSON formats in the GitHub issues: https://github.com/briandfoy/mac-propertylist/issues I'm unlikely to do the work myself unless I need those features though.