axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <>
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:
>     [ ]

> 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.


View raw message