diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-10 13:16:10 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-10 13:16:10 +0000 |
commit | d84573dbd1dd5a212e3b1856f96c18e867641025 (patch) | |
tree | 37054b16c77dbf6b49eb47e0f4591b7ba747bac4 | |
parent | 2a505eac6181d99d6a33770b7c6517f0b1e14b19 (diff) | |
download | edk2-platforms-d84573dbd1dd5a212e3b1856f96c18e867641025.tar.xz |
Fix some minor bugs on PCD schema according to final schema email send by Larry
1) In <PcdData> of <PcdBuildDefinition>, MaxDatumSize should be added;
2) In <PcdData> of <PcdBuildDefinition>, the number of <Value> should be [0..1] but not [0..n];
3) The max occurs of <SkuId> in <DynamicPcdBuildDefinitions> should be 1;
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@470 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/XMLSchema/FrameworkDataElements.xsd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index 8025bfd0b2..878c55d120 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -1300,7 +1300,7 @@ <xs:element minOccurs="1" maxOccurs="unbounded" name="SkuInfo">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>
<xs:choice>
<xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>
<xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>
@@ -1329,7 +1329,8 @@ <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
<xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
<xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Value" type="xs:normalizedString"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:normalizedString"/>
</xs:sequence>
<xs:attributeGroup ref="PcdBuildDefinitionAttributes"/>
</xs:complexType>
|