[ http://issues.apache.org/jira/browse/AXIS2-520?page=comments#action_12372852 ]
Chuck Williams commented on AXIS2-520:
--------------------------------------
The patch I submitted at AXIS2-523 contains a working solution. I've reattached the relevant
patch file here, although Ajith could not apply the diff -u patches (GNU standard format)
with Tortoise SVN, so I sent him modified source files to use instead. See also issues 518,
519 and 522 that Ajith has reported resolved by applying patches from 523.
The 0-length array issue in the pull parser arises with minOccurs=0 and maxOccurs anything
larger than 1 (e.g., unbounded) when an empty array is used as the actual value. My solution
in the patch is to output no elements for the values of the array.
> ADB pull parser does not serialize of 0-length arrays
> -----------------------------------------------------
>
> Key: AXIS2-520
> URL: http://issues.apache.org/jira/browse/AXIS2-520
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Environment: All
> Reporter: Ajith Harshana Ranabahu
> Assignee: Ajith Harshana Ranabahu
> Attachments: adb.patch
>
> seems that the ADB pullparser does not handle zero length arrays
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|