Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-644

Choice group with duplicate element names in XSD schema leads to duplication of output from SDO

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: C++-SCA-Next
    • Fix Version/s: None
    • Component/s: C++ SDO
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      A PHP SDO user raised a bug (http://pecl.php.net/bugs/bug.php?id=8493) to the effect that having read the XSD for WSDL1.1 and having created operation data objects with input and output properties these properties are duplicated when the SDO is written out to XML.

      The symtom is caused because the WSDL schema in question contains a choice group that repeats elements of the same name but just in a different order (to represent different calling conventions in this case). SDO flattens the choice but for some reasone fails to spot the duplicate type names and hence the resulting data object property list has multiple properties of the same name. This is not good.

        Attachments

          Activity

            People

            • Assignee:
              robbinspg Pete Robbins
              Reporter:
              simonslaws Simon Laws
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: