uidesigner/com.nokia.sdt.emf.dm/XMI.xsd
author timkelly
Mon, 20 Apr 2009 11:06:05 -0500
branchRCL_2_0
changeset 103 de4b04f4ec57
parent 2 d760517a8095
permissions -rw-r--r--
merge from default. Fix for bug 8902.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cawthron
parents:
diff changeset
     2
<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
cawthron
parents:
diff changeset
     3
  <xsd:attribute name="id" type="xsd:ID"/>
cawthron
parents:
diff changeset
     4
  <xsd:attributeGroup name="IdentityAttribs">
cawthron
parents:
diff changeset
     5
    <xsd:attribute form="qualified" name="label" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
     6
    <xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
     7
  </xsd:attributeGroup>
cawthron
parents:
diff changeset
     8
  <xsd:attributeGroup name="LinkAttribs">
cawthron
parents:
diff changeset
     9
    <xsd:attribute name="href" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    10
    <xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional"/>
cawthron
parents:
diff changeset
    11
  </xsd:attributeGroup>
cawthron
parents:
diff changeset
    12
  <xsd:attributeGroup name="ObjectAttribs">
cawthron
parents:
diff changeset
    13
    <xsd:attributeGroup ref="xmi:IdentityAttribs"/>
cawthron
parents:
diff changeset
    14
    <xsd:attributeGroup ref="xmi:LinkAttribs"/>
cawthron
parents:
diff changeset
    15
    <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    16
    <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional"/>
cawthron
parents:
diff changeset
    17
  </xsd:attributeGroup>
cawthron
parents:
diff changeset
    18
  <xsd:complexType name="XMI">
cawthron
parents:
diff changeset
    19
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    20
      <xsd:any processContents="strict"/>
cawthron
parents:
diff changeset
    21
    </xsd:choice>
cawthron
parents:
diff changeset
    22
    <xsd:attributeGroup ref="xmi:IdentityAttribs"/>
cawthron
parents:
diff changeset
    23
    <xsd:attributeGroup ref="xmi:LinkAttribs"/>
cawthron
parents:
diff changeset
    24
    <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional"/>
cawthron
parents:
diff changeset
    25
    <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="required"/>
cawthron
parents:
diff changeset
    26
  </xsd:complexType>
cawthron
parents:
diff changeset
    27
  <xsd:element name="XMI" type="xmi:XMI"/>
cawthron
parents:
diff changeset
    28
  <xsd:complexType name="PackageReference">
cawthron
parents:
diff changeset
    29
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    30
      <xsd:element name="name" type="xsd:string"/>
cawthron
parents:
diff changeset
    31
      <xsd:element name="version" type="xsd:string"/>
cawthron
parents:
diff changeset
    32
    </xsd:choice>
cawthron
parents:
diff changeset
    33
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
cawthron
parents:
diff changeset
    34
    <xsd:attribute name="name" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    35
  </xsd:complexType>
cawthron
parents:
diff changeset
    36
  <xsd:element name="PackageReference" type="xmi:PackageReference"/>
cawthron
parents:
diff changeset
    37
  <xsd:complexType name="Model">
cawthron
parents:
diff changeset
    38
    <xsd:complexContent>
cawthron
parents:
diff changeset
    39
      <xsd:extension base="xmi:PackageReference"/>
cawthron
parents:
diff changeset
    40
    </xsd:complexContent>
cawthron
parents:
diff changeset
    41
  </xsd:complexType>
cawthron
parents:
diff changeset
    42
  <xsd:element name="Model" type="xmi:Model"/>
cawthron
parents:
diff changeset
    43
  <xsd:complexType name="Import">
cawthron
parents:
diff changeset
    44
    <xsd:complexContent>
cawthron
parents:
diff changeset
    45
      <xsd:extension base="xmi:PackageReference"/>
cawthron
parents:
diff changeset
    46
    </xsd:complexContent>
cawthron
parents:
diff changeset
    47
  </xsd:complexType>
cawthron
parents:
diff changeset
    48
  <xsd:element name="Import" type="xmi:Import"/>
cawthron
parents:
diff changeset
    49
  <xsd:complexType name="MetaModel">
cawthron
parents:
diff changeset
    50
    <xsd:complexContent>
cawthron
parents:
diff changeset
    51
      <xsd:extension base="xmi:PackageReference"/>
cawthron
parents:
diff changeset
    52
    </xsd:complexContent>
cawthron
parents:
diff changeset
    53
  </xsd:complexType>
cawthron
parents:
diff changeset
    54
  <xsd:element name="MetaModel" type="xmi:MetaModel"/>
cawthron
parents:
diff changeset
    55
  <xsd:complexType name="Documentation">
cawthron
parents:
diff changeset
    56
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    57
      <xsd:element name="contact" type="xsd:string"/>
cawthron
parents:
diff changeset
    58
      <xsd:element name="exporter" type="xsd:string"/>
cawthron
parents:
diff changeset
    59
      <xsd:element name="exporterVersion" type="xsd:string"/>
cawthron
parents:
diff changeset
    60
      <xsd:element name="longDescription" type="xsd:string"/>
cawthron
parents:
diff changeset
    61
      <xsd:element name="shortDescription" type="xsd:string"/>
cawthron
parents:
diff changeset
    62
      <xsd:element name="notice" type="xsd:string"/>
cawthron
parents:
diff changeset
    63
      <xsd:element name="owner" type="xsd:string"/>
cawthron
parents:
diff changeset
    64
    </xsd:choice>
cawthron
parents:
diff changeset
    65
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
cawthron
parents:
diff changeset
    66
    <xsd:attribute name="contact" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    67
    <xsd:attribute name="exporter" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    68
    <xsd:attribute name="exporterVersion" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    69
    <xsd:attribute name="longDescription" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    70
    <xsd:attribute name="shortDescription" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    71
    <xsd:attribute name="notice" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    72
    <xsd:attribute name="owner" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    73
  </xsd:complexType>
cawthron
parents:
diff changeset
    74
  <xsd:element name="Documentation" type="xmi:Documentation"/>
cawthron
parents:
diff changeset
    75
  <xsd:complexType name="Extension">
cawthron
parents:
diff changeset
    76
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    77
      <xsd:any processContents="lax"/>
cawthron
parents:
diff changeset
    78
    </xsd:choice>
cawthron
parents:
diff changeset
    79
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
cawthron
parents:
diff changeset
    80
    <xsd:attribute name="extender" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    81
    <xsd:attribute name="extenderID" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
    82
  </xsd:complexType>
cawthron
parents:
diff changeset
    83
  <xsd:element name="Extension" type="xmi:Extension"/>
cawthron
parents:
diff changeset
    84
  <xsd:complexType name="Difference">
cawthron
parents:
diff changeset
    85
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    86
      <xsd:element name="target">
cawthron
parents:
diff changeset
    87
        <xsd:complexType>
cawthron
parents:
diff changeset
    88
          <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
    89
            <xsd:any processContents="skip"/>
cawthron
parents:
diff changeset
    90
          </xsd:choice>
cawthron
parents:
diff changeset
    91
          <xsd:anyAttribute processContents="skip"/>
cawthron
parents:
diff changeset
    92
        </xsd:complexType>
cawthron
parents:
diff changeset
    93
      </xsd:element>
cawthron
parents:
diff changeset
    94
      <xsd:element name="difference" type="xmi:Difference"/>
cawthron
parents:
diff changeset
    95
      <xsd:element name="container" type="xmi:Difference"/>
cawthron
parents:
diff changeset
    96
    </xsd:choice>
cawthron
parents:
diff changeset
    97
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
cawthron
parents:
diff changeset
    98
    <xsd:attribute name="target" type="xsd:IDREFS" use="optional"/>
cawthron
parents:
diff changeset
    99
    <xsd:attribute name="container" type="xsd:IDREFS" use="optional"/>
cawthron
parents:
diff changeset
   100
  </xsd:complexType>
cawthron
parents:
diff changeset
   101
  <xsd:element name="Difference" type="xmi:Difference"/>
cawthron
parents:
diff changeset
   102
  <xsd:complexType name="Add">
cawthron
parents:
diff changeset
   103
    <xsd:complexContent>
cawthron
parents:
diff changeset
   104
      <xsd:extension base="xmi:Difference">
cawthron
parents:
diff changeset
   105
        <xsd:attribute name="position" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
   106
        <xsd:attribute name="addition" type="xsd:IDREFS" use="optional"/>
cawthron
parents:
diff changeset
   107
      </xsd:extension>
cawthron
parents:
diff changeset
   108
    </xsd:complexContent>
cawthron
parents:
diff changeset
   109
  </xsd:complexType>
cawthron
parents:
diff changeset
   110
  <xsd:element name="Add" type="xmi:Add"/>
cawthron
parents:
diff changeset
   111
  <xsd:complexType name="Replace">
cawthron
parents:
diff changeset
   112
    <xsd:complexContent>
cawthron
parents:
diff changeset
   113
      <xsd:extension base="xmi:Difference">
cawthron
parents:
diff changeset
   114
        <xsd:attribute name="position" type="xsd:string" use="optional"/>
cawthron
parents:
diff changeset
   115
        <xsd:attribute name="replacement" type="xsd:IDREFS" use="optional"/>
cawthron
parents:
diff changeset
   116
      </xsd:extension>
cawthron
parents:
diff changeset
   117
    </xsd:complexContent>
cawthron
parents:
diff changeset
   118
  </xsd:complexType>
cawthron
parents:
diff changeset
   119
  <xsd:element name="Replace" type="xmi:Replace"/>
cawthron
parents:
diff changeset
   120
  <xsd:complexType name="Delete">
cawthron
parents:
diff changeset
   121
    <xsd:complexContent>
cawthron
parents:
diff changeset
   122
      <xsd:extension base="xmi:Difference"/>
cawthron
parents:
diff changeset
   123
    </xsd:complexContent>
cawthron
parents:
diff changeset
   124
  </xsd:complexType>
cawthron
parents:
diff changeset
   125
  <xsd:element name="Delete" type="xmi:Delete"/>
cawthron
parents:
diff changeset
   126
  <xsd:complexType name="Any">
cawthron
parents:
diff changeset
   127
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
cawthron
parents:
diff changeset
   128
      <xsd:any processContents="skip"/>
cawthron
parents:
diff changeset
   129
    </xsd:choice>
cawthron
parents:
diff changeset
   130
    <xsd:anyAttribute processContents="skip"/>
cawthron
parents:
diff changeset
   131
  </xsd:complexType>
cawthron
parents:
diff changeset
   132
</xsd:schema>