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

ComplexTypeExtendingSimpleType

    XMLWordPrintableJSON

    Details

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

      Description

      The following xml input

      <ComplexTypeExtendingSimpleType AddedByExtension="AddedByExtensionAttribute"
      xsi:type="tns:ComplexTypeExtendingSimpleTypeType">
      ComplexTypeExtendingSimpeType
      </ComplexTypeExtendingSimpleType>

      With the following schema

      <complexType name="ComplexTypeExtendingSimpleTypeType">
      <simpleContent>
      <extension base="tns:SimpleTypeWithNameType">
      <attribute name="AddedByExtension" type="string"/>
      </extension>
      </simpleContent>
      </complexType>

      Causes the runtime to fail with the following:

      SDOIllegalArgumentException Cannot add a properties to data types: ComplexTypeExtendingSimpleTypeTypeException

        Attachments

        1. fidelity.xsd
          3 kB
          Yang ZHONG

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              simonslaws Simon Laws
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: