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
This commit is contained in:
klu2 2006-06-10 13:16:10 +00:00
parent 2a505eac61
commit d84573dbd1
1 changed files with 3 additions and 2 deletions

View File

@ -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>