]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/FrameworkHeaders.xsd
Intermediate Check-in This is not the final version of the XML Transition Schema...
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
index a34d7a088f4a0f7a8aed3bdbd36d5f44c221063a..a798526839f2cec129cdce7b3888e95cec7e9928 100644 (file)
     </xs:element>\r
     <xs:element name="SpdHeader">\r
         <xs:annotation>\r
-            <xs:documentation xml:lang="en">This head is for the Surface Area Package Description file (SPD) The Guid may change when the contents of the file are changed.</xs:documentation>\r
+            <xs:documentation xml:lang="en">This head is for the Surface Area Package Description file (SPD)</xs:documentation>\r
+            <xs:documentation xml:lang="en">The Guid MUST change when the contents of the file undergo MAJOR FUNCTIONALITY changes.</xs:documentation>\r
+            <xs:documentation xml:lang="en">The Version MUST change when the contents of the file undergo MINOR FUNCTIONALITY changes.</xs:documentation>\r
         </xs:annotation>\r
         <xs:complexType>\r
             <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>\r
+                <xs:element minOccurs="1" maxOccurs="1" name="PackageName" type="UiNameType"/>\r
                 <xs:choice minOccurs="1" maxOccurs="1">\r
+                    <!-- DO NOT USE! Guid needs to be removed -->\r
                     <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
-                    <!-- Guid needs to be removed -->\r
-                    <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
                     <!-- GuidValue needs to be required -->\r
+                    <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
                 </xs:choice>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
+                <xs:element minOccurs="1" maxOccurs="1" name="Version" type="xs:decimal"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
                 <xs:choice minOccurs="1" maxOccurs="1">\r
-                    <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
                     <!-- Created needs to be removed -->\r
+                    <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                    <!-- CreatedDate needs to be removed -->\r
                     <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
-                    <!-- CreatedDate needs to be required -->\r
                 </xs:choice>\r
+                <!-- E_Mail needs to be removed -->\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
                 <xs:choice minOccurs="0" maxOccurs="1">\r
+                    <!-- Updated needs to be removed -->\r
                     <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-                    <!-- Created needs to be removed -->\r
+                    <!-- UpdatedDate needs to be removed -->\r
                     <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
-                    <!-- CreatedDate needs to be required -->\r
                 </xs:choice>\r
+                <!-- URL needs to be removed -->\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
+                <!-- PackageType needs to be removed -->\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>\r
+                <!-- ReadOnly and RePackage remain in final -->\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
+                <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052 -->\r
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
-                <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00090000 -->\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
                 <!-- OutputDirectory needs to be removed -->\r
+                <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r