summaryrefslogtreecommitdiff
path: root/TAO/CIAO/docs/schema/cpd.xsd
blob: dc8cb81be3f4db8971d6edb7da4b96a8104c5da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
            xmlns:Deployment="http://www.omg.org/Deployment"
            targetNamespace="http://www.omg.org/Deployment">

            <xsd:include schemaLocation="ccd.xsd" />
            <xsd:include schemaLocation="cid.xsd" />

  <xsd:complexType name="PackagedComponentImplementation">
    <xsd:sequence>
      <xsd:element name="name" type="xsd:string"/>
      <!-- @@ recursive CPD->PCI->CID->CAD->SID->CPD -->
      <xsd:element name="referencedImplementation" type="Deployment:ComponentImplementationDescription"/>
    </xsd:sequence>
  </xsd:complexType>

  <xsd:complexType name="ComponentPackageDescription">
    <!-- @@mxiong: added minOccurs="0" maxOccurs="1"
                   when adding config_handler support
                   for repoMan
    -->
    <xsd:choice minOccurs="0" maxOccurs="1">
      <xsd:sequence>
        <xsd:element name="label" type="xsd:string"/>
        <xsd:element name="UUID" type="xsd:string"/>
        <xsd:element name="realizes" type="Deployment:ComponentInterfaceDescription" minOccurs="0"/>
        <xsd:element name="configProperty" type="Deployment:Property" minOccurs="0"/>
        <xsd:element name="implementation" type="Deployment:PackagedComponentImplementation"/>
        <xsd:element name="infoProperty" type="Deployment:Property" minOccurs="0"/>
      </xsd:sequence>
      <xsd:element name="contentLocation" type="xsd:string"/>
    </xsd:choice>
    <!-- @@mxiong: added href
                   when adding config_handler support
                   for repoMan
    -->
    <xsd:attribute name="href" type="xsd:string" use="optional"/>
  </xsd:complexType>

</xsd:schema>