• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArray toString() different in WO 5.4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray toString() different in WO 5.4.3


  • Subject: Re: NSArray toString() different in WO 5.4.3
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Tue, 05 May 2009 18:08:34 -0400


On May 5, 2009, at 6:03 PM, Chuck Hill wrote:

On May 5, 2009, at 2:59 PM, Ricardo J. Parada wrote:

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.

That was a mistake. That is the job of NSPropertyListSerialization.

I realize that now! :-)

Thanks.


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSArray toString() different in WO 5.4.3
      • From: "Mr. Pierre Frisch" <email@hidden>
References: 
 >NSArray toString() different in WO 5.4.3 (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NSArray toString() different in WO 5.4.3 (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: NSArray toString() different in WO 5.4.3
  • Next by Date: Re: Passing a wrapper component to a page-level component
  • Previous by thread: Re: NSArray toString() different in WO 5.4.3
  • Next by thread: Re: NSArray toString() different in WO 5.4.3
  • Index(es):
    • Date
    • Thread