← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 250: structures.xsd is completed in move to elements vs. attributes.

 

------------------------------------------------------------
revno: 250
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Mon 2012-05-28 14:24:14 -0300
message:
  structures.xsd is completed in move to elements vs. attributes.
modified:
  schemas/structures.xsd


--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main

Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'schemas/structures.xsd'
--- schemas/structures.xsd	2012-05-27 11:38:45 +0000
+++ schemas/structures.xsd	2012-05-28 17:24:14 +0000
@@ -13,8 +13,10 @@
   <xs:complexType name="Slot">
     <xs:complexContent>
       <xs:extension base="mlhim2:Item">
-         <xs:attribute name="allowed_ccds" type="xs:string" maxOccurs="unbounded" minOccurs="1"/>
-         <xs:attribute name="ccd" type="xs:string" maxOccurs="1" minOccurs="0"/>
+      <xs:sequence>
+         <xs:element name="allowed_ccds" type="xs:string" maxOccurs="unbounded" minOccurs="1"/>
+         <xs:element name="ccd" type="xs:string" maxOccurs="1" minOccurs="0"/>
+      </xs:sequence>
       </xs:extension>
     </xs:complexContent>
     
@@ -22,7 +24,9 @@
   <xs:complexType name="Cluster">
     <xs:complexContent>
       <xs:extension base="mlhim2:Item">
-        <xs:attribute name="items" type="mlhim2:Item" maxOccurs="unbounded" minOccurs="1"/>
+      <xs:sequence>
+        <xs:element name="items" type="mlhim2:Item" maxOccurs="unbounded" minOccurs="1"/>
+      </xs:sequence>
        </xs:extension>
     </xs:complexContent>
   </xs:complexType>
@@ -30,7 +34,9 @@
   <xs:complexType name="Element">
     <xs:complexContent>
       <xs:extension base="mlhim2:Item">
-        <xs:attribute name="dv" type="mlhim2:DvAny" maxOccurs="1" minOccurs="1"/>
+      <xs:sequence>
+        <xs:element name="dv" type="mlhim2:DvAny" maxOccurs="1" minOccurs="1"/>
+      </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>