Added BuildTarget with enumerated data type (DEBUG|RELEASE|BOTH) to the PlatformHeade...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 31 May 2006 02:13:29 +0000 (02:13 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 31 May 2006 02:13:29 +0000 (02:13 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@336 6f19259b-4bc3-4df7-8a09-765794883524

Tools/XMLSchema/FrameworkHeaders.xsd

index 83c7ebf..7b1f955 100644 (file)
                         <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>\r
                     </xs:annotation>\r
                 </xs:element>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
+                <xs:choice>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Guid">\r
+                    <xs:annotation>\r
+                      <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
+                    </xs:annotation>\r
+                  </xs:element>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
                 <xs:choice minOccurs="1" maxOccurs="1">\r
-                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created">\r
+                    <xs:annotation>\r
+                      <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
+                    </xs:annotation>\r
+                  </xs:element>\r
                   <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
                 </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">\r
                        <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
                    </xs:annotation>\r
                 </xs:element>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>\r
+                <xs:choice>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Updated">\r
+                    <xs:annotation>\r
+                       <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
+                    </xs:annotation>\r
+                  </xs:element>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
+                </xs:choice>\r
+                <xs:element minOccurs="0" maxOccurs="1" ref="PackageType">\r
+                  <xs:annotation>\r
+                    <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
+                  </xs:annotation>\r
+                </xs:element>\r
+                <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget">\r
+                  <xs:simpleType>\r
+                    <xs:restriction base="xs:NCName">\r
+                      <xs:enumeration value="DEBUG"/>\r
+                      <xs:enumeration value="RELEASE"/>\r
+                      <xs:enumeration value="BOTH"/>\r
+                    </xs:restriction>\r
+                  </xs:simpleType>\r
+                </xs:element>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r