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

adb generated code doesn't handle empty elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • code generation
    • None

    Description

      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.

      Attachments

        1. CADBBeanTemplate.diff2
          11 kB
          Eric Haszlakiewicz
        2. CADBBeanTemplate.diff
          12 kB
          Eric Haszlakiewicz

        Activity

          People

            Unassigned Unassigned
            erh Eric Haszlakiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified