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

Incorrect deserialization when the first child is an empty element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.7.0
    • code generation
    • Windows XP
      axis2-1.4.1-src with slight changes to the CADBBeanTemplateSource.xsl template to embed some minor bug fixes.

    Description

      Scenario:

      • the first element in a sequence is nillable
      • in the actual XML, that first element is present, but is empty
      • the deserialization code of the parent mishandles this element by not recognizing it as being its first child element and by treating it as if it were a child with position >= 2

      Attachments

        1. XLocate.wsdl
          95 kB
          Catalina Caloian
        2. svn.diff
          4 kB
          Patrick van Beem
        3. CADBBeanTemplateSource.xsl
          363 kB
          Catalina Caloian

        Activity

          People

            Unassigned Unassigned
            catalina_caloian Catalina Caloian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified