You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org> on 2008/10/10 23:49:44 UTC

[jira] Updated: (AXIS2C-1271) adb generated code doesn't handle empty elements

     [ https://issues.apache.org/jira/browse/AXIS2C-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Haszlakiewicz updated AXIS2C-1271:
---------------------------------------

    Attachment: CADBBeanTemplate.diff

This patch was created using sources from nightly build 174.

> adb generated code doesn't handle empty elements
> ------------------------------------------------
>
>                 Key: AXIS2C-1271
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1271
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: Current (Nightly)
>            Reporter: Eric Haszlakiewicz
>         Attachments: CADBBeanTemplate.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The deserialize code generated by wsdl2c doesn't correctly handle elements that have no content and treats them as if they weren't present at all.  The attached patch fixes this.  The patch also includes a number of changes to handle const strings more correctly which were needed to deal with the use of the zero length string constant.  Also, it fixes the prototypes of the <foo>_is_particle functions so the code can compile with warnings turned on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org