Re: NSArray toString() different in WO 5.4.3
Re: NSArray toString() different in WO 5.4.3
- Subject: Re: NSArray toString() different in WO 5.4.3
- From: Mike Schrag <email@hidden>
- Date: Tue, 5 May 2009 18:05:18 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden