Re: Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty array/collection

2008-08-18 Thread Raymond Feng
I cannot find the statements in the JAX-WS/JAXB spec and was trying to be consistent with the wsgen behavior. Thanks, Raymond From: Scott Kurz Sent: Monday, August 18, 2008 12:08 PM To: dev@tuscany.apache.org Subject: Re: Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty

Re: Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty array/collection

2008-08-18 Thread Scott Kurz
.class.isAssignableFrom(javaClass) || javaClass.isArray(); > // TUSCANY-2389: Set the nillable consistent with what wsgen > produces > this.nillable = javaClass.isArray(); > > Thanks, > Raymond > > From: Scott Kurz > Sent: Monday, August 18, 2008 11:18 AM

Re: Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty array/collection

2008-08-18 Thread Raymond Feng
, Raymond From: Scott Kurz Sent: Monday, August 18, 2008 11:18 AM To: dev@tuscany.apache.org Subject: Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty array/collection Raymond, So in the fix for TUSCANY-2389, as Raymond's comment along with his fix to BaseBeanGene

Follow-up to TUSCANY-2389, nulls in arrays/collections, null vs. empty array/collection

2008-08-18 Thread Scott Kurz
Raymond, So in the fix for TUSCANY-2389, as Raymond's comment along with his fix to BaseBeanGenerator indicates: "Set the nillable consistent with what wsgen produces.." we use a different bottom-up mapping for arrays on parm/ret types than than we do for collections. Specifically, in the ge