NSArray toString() different in WO 5.4.3
NSArray toString() different in WO 5.4.3
- Subject: NSArray toString() different in WO 5.4.3
- From: "Ricardo J. Parada" <email@hidden>
- Date: Tue, 05 May 2009 17:59:25 -0400
Hi All,
Another issue we discovered with WO 5.4.3:
This code:NSArray array = new NSArray(new Object[] {"86309", "", "6.4000", "6.4000"});
System.out.println(array.toString()); Outputs the following:
5.3.3 : ( "86309", "", "6.4000", "6.4000" )
5.4.4 : ( 86309, , 6.4000, 6.4000 )
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.
|
_______________________________________________
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