summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-31 02:13:29 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-31 02:13:29 +0000
commitbab93bdd60b2683a45b1eda15e3a6386f1a36f34 (patch)
tree32df3bf1be992002e697853aca469a87a0b914e0
parent6ad4973db8cebc60c499dc46684ebf0399b5463c (diff)
downloadedk2-bab93bdd60b2683a45b1eda15e3a6386f1a36f34.zip
edk2-bab93bdd60b2683a45b1eda15e3a6386f1a36f34.tar.gz
edk2-bab93bdd60b2683a45b1eda15e3a6386f1a36f34.tar.bz2
Added BuildTarget with enumerated data type (DEBUG|RELEASE|BOTH) to the PlatformHeader element.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@336 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/XMLSchema/FrameworkHeaders.xsd40
1 files changed, 35 insertions, 5 deletions
diff --git a/Tools/XMLSchema/FrameworkHeaders.xsd b/Tools/XMLSchema/FrameworkHeaders.xsd
index 83c7ebf..7b1f955 100644
--- a/Tools/XMLSchema/FrameworkHeaders.xsd
+++ b/Tools/XMLSchema/FrameworkHeaders.xsd
@@ -142,15 +142,25 @@
<xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>
</xs:annotation>
</xs:element>
- <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">
+ <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:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<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: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:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">
@@ -158,8 +168,28 @@
<xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Updated">
+ <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>
+ </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>
+ </xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>