axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <sanj...@opensource.lk>
Subject Re: [jira] Commented: (AXIS2-520) ADB pull parser does not serialize of 0-length arrays
Date Sun, 02 Apr 2006 18:04:58 GMT
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.


Mime
View raw message