Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1574

Generated code has duplicate property_Type definitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • wsdl2c tool
    • None

    Description

      I have a WSDL file that has a complexType with an element named Type,

      <element name="MyType">
      <complexType>
      <sequence>
      <element name="Type" type="xsd:integer" minOccurs="0" maxOccurs="1" nillable="true"/>
      </sequence>
      </complexType>
      </element>

      The generated code defines two property_Type,

      axis2_char_t *property_Type;
      ...
      int property_type;

      A close look shows that 'axis2_char_t *property_Type;' is hard coded in CADBBeanTemplateSource.xsl. I replaced all hard coded property_Type with _property_Type, and it seems that generated code is happy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hengli_wang Hengli Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: