← Back to team overview

mlhim-specs-dev team mailing list archive

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

 

------------------------------------------------------------
revno: 249
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Mon 2012-05-28 14:21:44 -0300
message:
  metadata.xsd is completed in move to elements vs. attributes.
modified:
  schemas/metadata.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/metadata.xsd'
--- schemas/metadata.xsd	2012-05-27 11:38:45 +0000
+++ schemas/metadata.xsd	2012-05-28 17:21:44 +0000
@@ -9,7 +9,9 @@
   <xs:complexType name="Metadata">
     <xs:complexContent>
       <xs:extension base="xs:simpleAnyType">
-        <xs:attribute name="content" use="required" type="mlhim2:MetadataSet" minOccurs="2" maxOccurs="unbounded"/>
+      <xs:sequence>
+        <xs:element name="content" use="required" type="mlhim2:MetadataSet" minOccurs="2" maxOccurs="unbounded"/>
+      </xs:sequence>  
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
@@ -17,8 +19,10 @@
   <xs:complexType name="MetadataSet">
     <xs:complexContent>
       <xs:extension base="xs:simpleAnyType">
-        <xs:attribute name="name" type="xs:string" use="required"/>
-        <xs:attribute name="entries" type="mlhim2:MetadataEntry" minOccurs="1" maxOccurs="unbounded"/>
+      <xs:sequence>
+        <xs:element name="name" type="xs:string" use="required"/>
+        <xs:element name="entries" type="mlhim2:MetadataEntry" minOccurs="1" maxOccurs="unbounded"/>
+      </xs:sequence>  
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
@@ -26,8 +30,10 @@
   <xs:complexType name="MetadataEntry">
     <xs:complexContent>
       <xs:extension base="xs:simpleAnyType">
-        <xs:attribute name="name" type="xs:string" use="required"/>
-        <xs:attribute name="contents" type="xs:string"/>
+      <xs:sequence>
+        <xs:element name="name" type="xs:string" use="required"/>
+        <xs:element name="contents" type="xs:string"/>
+      </xs:sequence>  
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>