Changed the Type attribute of FvImage to be ENUM type: FvImageTypes (Attributes ...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 May 2006 16:14:34 +0000 (16:14 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 May 2006 16:14:34 +0000 (16:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@324 6f19259b-4bc3-4df7-8a09-765794883524

Tools/XMLSchema/FrameworkPlatformDataElements.xsd

index 49d1259..535ac40 100644 (file)
                 <xs:element minOccurs="1" maxOccurs="unbounded" ref="FvImageNames"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="FvImageOptions"/>\r
             </xs:sequence>\r
-            <xs:attribute name="Type" type="xs:string" use="optional"/>\r
+            <xs:attribute name="Type" type="FvImageTypes" use="optional"/>\r
         </xs:complexType>\r
     </xs:element>\r
     <xs:element name="FvImageName">\r
             <xs:attribute name="Name" type="FvRegionTypes" use="required"/>\r
         </xs:complexType>\r
     </xs:element>\r
-    <xs:element name="FvImageNames" type="xs:string"/>\r
+    <xs:element name="FvImageNames" type="xs:NCName"/>\r
     <xs:element name="FvImageOptions">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en">This element is used specify different name value pairs.</xs:documentation>\r
             <xs:enumeration value="4MB"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="FvImageTypes">\r
+        <xs:restriction base="xs:NCName">\r
+            <xs:enumeration value="Attributes"/>\r
+            <xs:enumeration value="Options"/>\r
+            <xs:enumeration value="Components"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="FvSubRegionTypes">\r
         <xs:restriction base="UCNameType">\r
             <xs:enumeration value="NV_VARIABLE_STORE"/>\r