We relied on NSArray toString() method to generate the plist format for an NSArray. With WO 5.4.3 the output is different and then when we try to parse the string generated by WO 5.4.3 back into an NSArray using NSPropertyListSerialization.propertyListFromString we get this exception: The workaround is to write our own code for outputting NSArray. But this seems like a WO 5.4.3 bug to me.

toString should never be relied on for anything meaningful (read: the value it returns is not part of the API definition). You should use NSPropertyListSerialization to generate a property list string from an array.

ms

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to