You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sanjiva Weerawarana <sa...@opensource.lk> on 2006/04/02 20:04:58 UTC

Re: [jira] Commented: (AXIS2-520) ADB pull parser does not serialize of 0-length arrays

On Sun, 2006-04-02 at 18:57 +0100, Eran Chinthaka (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/AXIS2-520?page=comments#action_12372846 ] 
> 
> Eran Chinthaka commented on AXIS2-520:
> --------------------------------------
> 
> Can I know the intended behaviour for me to implement this ?

If the "array" is declared as minOccurs=1, then this should result in a
runtime fault. If its declared as nilable, then I guess it should
generate an empty element with xsi:nil=true.

Given that in general you don't have the schema around, I'd say you
should do the latter by default.

Sanjiva.