Bad code from anonymous empty clompex types
-------------------------------------------

                 Key: AXIS2C-1052
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1052
             Project: Axis2-C
          Issue Type: Bug
          Components: code generation
    Affects Versions: 1.3.0
            Reporter: Sam Meder


I tried generating stubs from the VMWare vim25 wsdls and ended up with a bunch 
of compile errors. They all seem related to code generated from anonymous and 
empty <ComplexType/> declarations, e.g:

 <element name="AddInternetScsiSendTargetsResponse">
            <complexType />
 </element>

This seems to generate code with the following two statements (I'll attach the 
generated code):

 AXIS2_FREE(env->allocator,start_input_str);
 AXIS2_FREE(env->allocator,end_input_str);

The issue is that neither start_input_str nor end_input_str are ever 
declared/assigned, so compilation fails.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to