]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/FrameworkHeaders.xsd
Change Name
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
index 1a8181f594278f178c6bb714155f0174009acdba..cee80f2d58350238da8bacf80b2ce0eaf78ac098 100644 (file)
@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
-    <!--\r
+  <!--\r
     Filename: FrameworkHeaders.xsd\r
     \r
     Copyright (c) 2006, Intel Corp.\r
+\r
     All rights reserved. This program and the accompanying materials\r
     are licensed and made available under the terms and conditions of the BSD License\r
     which may be found at http://opensource.org/licenses/bsd-license.php\r
     THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
     WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
     \r
+    APPROVED: 14-Jun-2006\r
   -->\r
-    <xs:include schemaLocation="FrameworkDataElements.xsd"/>\r
-    <xs:element name="FdbHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is the header for the Framework Package Database file.</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="DatabaseName"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\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:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="MbdHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is the header for the Component Module Build Description (MBD) file. NOTE: The GUID may be different from the GUID in the MSA file, as the Guid is updated every time the file is changed, as the Guid may change if the contents of the file are changed.</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\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:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="MbdLibHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is the header for the Library Module Build Description (MBD) file. NOTE: The Guid may be different from the Guid in the MSA file, as the Guid may change when the contents of the file are changed..</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\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:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="MsaHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is the Component Module Surface Area Description Header - a replacement for INF files. The GUID may change when the contents of the file are changed.</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
-                <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="MsaLibHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is the Library Module Surface Area Description Header - a replacement for INF files. The Guid may change when the contents of the file are changed.</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="PlatformHeader">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention">\r
-                    <xs:annotation>\r
-                        <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: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:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element maxOccurs="0" minOccurs="1" ref="CreatedBy"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </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:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
-                <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
-                <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
-            </xs:sequence>\r
-        </xs:complexType>\r
-    </xs:element>\r
+  <xs:include schemaLocation="FrameworkDataElements.xsd"/>\r
+  <xs:element name="FdbHeader">\r
+    <xs:annotation>\r
+      <xs:documentation xml:lang="en">This is the header for the Framework Package Database (DB) file.</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Guid MUST change if backward compatibility breaks caused by a new release of XML Schema.</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Version will change if a minor change to XML Schema has been made, but backward compatiblity is maintained.</xs:documentation>\r
+    </xs:annotation>\r
+    <xs:complexType>\r
+      <xs:sequence>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="DatabaseName" type="UiNameType" fixed="FrameworkDatabase"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>\r
+        <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>\r
+      </xs:sequence>\r
+    </xs:complexType>\r
+  </xs:element>\r
+  <xs:element name="FarHeader">\r
+    <xs:annotation>\r
+      <xs:documentation xml:lang="en">This is the header for the Framework Archive Manifest file.</xs:documentation>\r
+    </xs:annotation>\r
+    <xs:complexType>\r
+      <xs:sequence>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="FarName" type="UiNameType"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>\r
+        <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>\r
+      </xs:sequence>\r
+    </xs:complexType>\r
+  </xs:element>\r
+  <xs:element name="MsaHeader">\r
+    <xs:annotation>\r
+      <xs:documentation xml:lang="en">This header is for the Module Surface Area Description (MSA) files</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Guid MUST change if the Module changes break backward compatibility.</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Version MUST change if the Module changes, however, backward compatiblity is maintained.</xs:documentation>\r
+    </xs:annotation>\r
+    <xs:complexType>\r
+      <xs:sequence>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="ModuleName" type="UiNameType"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>\r
+        <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>\r
+      </xs:sequence>\r
+    </xs:complexType>\r
+  </xs:element>\r
+  <xs:element name="PlatformHeader">\r
+    <xs:annotation>\r
+      <xs:documentation xml:lang="en">This header is for the Framework Platform Description (FPD) files.</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Guid MUST change if the FPD changes break backward compatibility.</xs:documentation>\r
+      <xs:documentation xml:lang="en">The Version MUST change if the FPD changes, however, backward compatiblity is maintained.</xs:documentation>\r
+    </xs:annotation>\r
+    <xs:complexType>\r
+      <xs:sequence>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="UiNameType"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>\r
+        <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>\r
+      </xs:sequence>\r
+    </xs:complexType>\r
+  </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)</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" name="PackageName" type="UiNameType"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>\r
+        <xs:element minOccurs="1" 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="1" maxOccurs="1" ref="Copyright"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
+        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>\r
+      </xs:sequence>\r
+    </xs:complexType>\r
+  </xs:element>\r
 </xs:schema>\r