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

In sca-core.xsd, in Component, the cardinality of <implementation> should be 1..1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • C++-SCA-Next
    • Java-SCA-0.90
    • Website
    • None

    Description

      In sca-core.xsd, in Component, the cardinality of <implementation> should be 1..1.

      I will bring this issue to the OSOA spec workgroup.

      The SCA assembly spec specifies it correctly (page 6 in v0.95):
      <component name="xs:NCName">*
      <implementation/>
      <property name="xs:NCName" source="sca:Property"?>*
      property-value
      </property>
      <reference name="xs:NCName"/>*
      wire-target-URI
      </reference>
      </component>

      In sca-core.xsd
      <complexType name="Component">
      <sequence>
      <element ref="sca:implementation" minOccurs="0" maxOccurs="1"/>
      <element name="reference" type="sca:ReferenceValue" minOccurs="0" maxOccurs="unbounded"/>
      <element name="property" type="sca:Property" minOccurs="0" maxOccurs="unbounded"/>
      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="name" type="NCName" use="required"/>
      <anyAttribute namespace="##any" processContents="lax"/>
      </complexType>
      should be changed to:
      <complexType name="Component">
      <sequence>
      <element ref="sca:implementation" minOccurs="1" maxOccurs="1"/>
      <element name="reference" type="sca:ReferenceValue" minOccurs="0" maxOccurs="unbounded"/>
      <element name="property" type="sca:Property" minOccurs="0" maxOccurs="unbounded"/>
      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="name" type="NCName" use="required"/>
      <anyAttribute namespace="##any" processContents="lax"/>
      </complexType>

      Attachments

        Activity

          People

            jsdelfino Jean-Sebastien Delfino
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: