summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema/FrameworkHeaders.xsd
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-01 03:23:09 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-01 03:23:09 +0000
commitf29b8a332e39980d0dbf9683ec1b631dedc6d78a (patch)
treef94a8fc6af29371d917812833e87f8b6b2407d48 /Tools/XMLSchema/FrameworkHeaders.xsd
parent52166c09d6f3fe1545d66ccec32bd5e479f26294 (diff)
downloadedk2-platforms-f29b8a332e39980d0dbf9683ec1b631dedc6d78a.tar.xz
Several changes - add <PcdIsDriver> optional element to <Externs> Changed FlashDeviceInfo Attributes to use the correct one.
Added comments (and wrapped some elements in <xs:choice> for new elements) and minor tweaks. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@363 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema/FrameworkHeaders.xsd')
-rw-r--r--Tools/XMLSchema/FrameworkHeaders.xsd160
1 files changed, 102 insertions, 58 deletions
diff --git a/Tools/XMLSchema/FrameworkHeaders.xsd b/Tools/XMLSchema/FrameworkHeaders.xsd
index 7b1f955684..aeae77b144 100644
--- a/Tools/XMLSchema/FrameworkHeaders.xsd
+++ b/Tools/XMLSchema/FrameworkHeaders.xsd
@@ -20,25 +20,40 @@
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" ref="DatabaseName"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
+ <!-- Guid needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <!-- GuidValue needs to be required -->
+ </xs:choice>
<xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
+ <!-- Version is the version of this file -->
<xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
+ <!-- Path needs to be removed -->
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <!-- Created needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <!-- CreatedDate needs to be required -->
+ </xs:choice>
+ <xs:choice minOccurs="0">
+ <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
+ <!-- Updated needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="UpdatedDate"/>
</xs:choice>
- <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MbdHeader">
+ <!-- MbdHeader needs to be removed -->
<xs:annotation>
- <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>
+ <xs:documentation xml:lang="en">DO NOT USE! 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>
</xs:annotation>
<xs:complexType>
<xs:sequence>
@@ -49,19 +64,20 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MbdLibHeader">
+ <!-- MbdLibHeader needs to be removed -->
<xs:annotation>
- <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>
+ <xs:documentation xml:lang="en">DO NOT USE! 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>
</xs:annotation>
<xs:complexType>
<xs:sequence>
@@ -72,12 +88,12 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
@@ -91,25 +107,37 @@
<xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>
<xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>
<xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
+ <!-- Guid needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <!-- GuidValue needs to be required -->
+ </xs:choice>
<xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <!-- Created needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <!-- CreatedDate needs to be required -->
+ </xs:choice>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
+ <!-- Updated needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
- <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MsaLibHeader">
+ <!-- MsaLibHeader needs to be removed -->
<xs:annotation>
- <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>
+ <xs:documentation xml:lang="en">DO NOT USE! 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>
</xs:annotation>
<xs:complexType>
<xs:sequence>
@@ -123,8 +151,8 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
@@ -143,12 +171,14 @@
</xs:annotation>
</xs:element>
<xs:choice>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guid">
- <xs:annotation>
- <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guid">
+ <!-- Guid needs to be removed -->
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <!-- GuidValue needs to be required -->
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
@@ -156,40 +186,48 @@
<xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="0" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created">
- <xs:annotation>
- <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created">
+ <!-- Created needs to be removed -->
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <!-- CreatedDate needs to be required -->
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">
- <xs:annotation>
- <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:choice>
- <xs:element minOccurs="0" maxOccurs="1" ref="Updated">
+ <!-- CreatedBy needs to be removed -->
<xs:annotation>
- <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
+ <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
</xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
+ </xs:element>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Updated">
+ <!-- Updated needs to be removed -->
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="PackageType">
- <xs:annotation>
- <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
- </xs:annotation>
+ <!-- PackageType needs to be removed -->
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
+ </xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="BuildTarget">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="DEBUG"/>
- <xs:enumeration value="RELEASE"/>
- <xs:enumeration value="BOTH"/>
- </xs:restriction>
- </xs:simpleType>
+ <!-- BuildTarget needs to be required -->
+ <xs:simpleType>
+ <xs:restriction base="xs:NCName">
+ <xs:enumeration value="DEBUG"/>
+ <xs:enumeration value="RELEASE"/>
+ <xs:enumeration value="BOTH"/>
+ </xs:restriction>
+ </xs:simpleType>
</xs:element>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>
+ <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -200,16 +238,20 @@
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
+ <!-- Guid needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
+ </xs:choice>
<xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:choice minOccurs="1" maxOccurs="1">
- <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
+ <!-- Created needs to be removed -->
+ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
@@ -218,7 +260,9 @@
<xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>
<xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>
+ <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
<xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>
+ <!-- OutputDirectory needs to be removed -->
</xs:sequence>
</xs:complexType>
</xs:element>