summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-30 16:14:34 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-30 16:14:34 +0000
commitfb6d4eb2ea495a8a8e077f95e1ea87ff31322634 (patch)
tree07c4a2261762df5c268bd5e561198e84425bff3a /Tools/XMLSchema/FrameworkPlatformDataElements.xsd
parent5f444029473d88fafaf5bdf42ba02d7904884bf6 (diff)
downloadedk2-platforms-fb6d4eb2ea495a8a8e077f95e1ea87ff31322634.tar.xz
Changed the Type attribute of FvImage to be ENUM type: FvImageTypes (Attributes | Options | Components)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@324 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema/FrameworkPlatformDataElements.xsd')
-rw-r--r--Tools/XMLSchema/FrameworkPlatformDataElements.xsd11
1 files changed, 9 insertions, 2 deletions
diff --git a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
index 49d12597a0..535ac407f3 100644
--- a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
+++ b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
@@ -188,7 +188,7 @@
<xs:element minOccurs="1" maxOccurs="unbounded" ref="FvImageNames"/>
<xs:element minOccurs="0" maxOccurs="1" ref="FvImageOptions"/>
</xs:sequence>
- <xs:attribute name="Type" type="xs:string" use="optional"/>
+ <xs:attribute name="Type" type="FvImageTypes" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="FvImageName">
@@ -199,7 +199,7 @@
<xs:attribute name="Name" type="FvRegionTypes" use="required"/>
</xs:complexType>
</xs:element>
- <xs:element name="FvImageNames" type="xs:string"/>
+ <xs:element name="FvImageNames" type="xs:NCName"/>
<xs:element name="FvImageOptions">
<xs:annotation>
<xs:documentation xml:lang="en">This element is used specify different name value pairs.</xs:documentation>
@@ -363,6 +363,13 @@
<xs:enumeration value="4MB"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="FvImageTypes">
+ <xs:restriction base="xs:NCName">
+ <xs:enumeration value="Attributes"/>
+ <xs:enumeration value="Options"/>
+ <xs:enumeration value="Components"/>
+ </xs:restriction>
+ </xs:simpleType>
<xs:simpleType name="FvSubRegionTypes">
<xs:restriction base="UCNameType">
<xs:enumeration value="NV_VARIABLE_STORE"/>