axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Haszlakiewicz (JIRA)" <>
Subject [jira] Commented: (AXIS2C-1271) adb generated code doesn't handle empty elements
Date Tue, 04 Nov 2008 18:22:44 GMT


Eric Haszlakiewicz commented on AXIS2C-1271:

I just attached an updated patch that includes code to check for a "nil" attribute.  Better?

The reason for renaming (actually, adding) some of the variables is to make it clearer which
ones refer to read-only locations (such as string constants) and which are newly allocated

> adb generated code doesn't handle empty elements
> ------------------------------------------------
>                 Key: AXIS2C-1271
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: Current (Nightly)
>            Reporter: Eric Haszlakiewicz
>         Attachments: CADBBeanTemplate.diff, CADBBeanTemplate.diff2
>   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:
For additional commands, e-mail:

View raw message