summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r--Tools/XMLSchema/FrameworkDataElements.xsd17
-rw-r--r--Tools/XMLSchema/FrameworkPlatformDataElements.xsd4
2 files changed, 12 insertions, 9 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd
index 344111ac31..65db34a324 100644
--- a/Tools/XMLSchema/FrameworkDataElements.xsd
+++ b/Tools/XMLSchema/FrameworkDataElements.xsd
@@ -1276,8 +1276,8 @@
<xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
<xs:group minOccurs="0" maxOccurs="1" ref="SkuGroup"/>
<xs:choice minOccurs="0" maxOccurs="1">
- <xs:group minOccurs="0" maxOccurs="1" ref="HiiGroup"/>
- <xs:group minOccurs="0" maxOccurs="1" ref="VpdGroup"/>
+ <xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>
+ <xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>
</xs:choice>
<xs:element minOccurs="1" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>
<xs:element minOccurs="1" maxOccurs="1" name="Value" type="xs:normalizedString"/>
@@ -1303,8 +1303,8 @@
<xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
<xs:group minOccurs="0" maxOccurs="1" ref="SkuGroup"/>
<xs:choice minOccurs="0" maxOccurs="1">
- <xs:group minOccurs="0" maxOccurs="1" ref="HiiGroup"/>
- <xs:group minOccurs="0" maxOccurs="1" ref="VpdGroup"/>
+ <xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>
+ <xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>
<xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:normalizedString"/>
@@ -1315,9 +1315,9 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:group name="HiiGroup">
+ <xs:group name="HiiEnable">
<xs:annotation>
- <xs:documentation xml:lang="en">If HiiGroup is specified, then HiiEnable is default true</xs:documentation>
+ <xs:documentation xml:lang="en">If HiiEnable group is specified, then HiiEnable is default true</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>
@@ -1325,7 +1325,10 @@
<xs:element minOccurs="0" maxOccurs="1" name="VariableOffset" type="Hex64BitDataType"/>
</xs:sequence>
</xs:group>
- <xs:group name="VpdGroup">
+ <xs:group name="VpdEnable">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">If VpdEnable group is specified, then VpdEnable is default true</xs:documentation>
+ </xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="VpdOffset" type="Hex64BitDataType"/>
</xs:sequence>
diff --git a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
index 08a8ecffdd..d9da5f79b9 100644
--- a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
+++ b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd
@@ -74,8 +74,8 @@
<xs:element name="FlashDefinition" type="FlashData"/>
<xs:element name="FlashDefinitionFile" type="FileNameConvention"/>
</xs:choice>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="FvImages"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="Capsules"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="FvImages"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Capsules"/>
</xs:sequence>
<xs:attribute name="MicrocodeFile" type="FileNameConvention" use="optional"/>
</xs:complexType>