Fix some minor bugs on PCD schema according to final schema email send by Larry
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 10 Jun 2006 13:16:10 +0000 (13:16 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 10 Jun 2006 13:16:10 +0000 (13:16 +0000)
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

Tools/XMLSchema/FrameworkDataElements.xsd

index 8025bfd0b2afa487649b39a38321141ec953d456..878c55d120897d3dca06cfa74b407dc03c9d84cc 100644 (file)
                             <xs:element minOccurs="1" maxOccurs="unbounded" name="SkuInfo">\r
                                 <xs:complexType>\r
                                     <xs:sequence>\r
-                                        <xs:element minOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>\r
+                                        <xs:element minOccurs="1" maxOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>\r
                                         <xs:choice>\r
                                             <xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>\r
                                             <xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>\r
                             <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>\r
                             <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
                             <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
-                            <xs:element minOccurs="0" maxOccurs="unbounded" name="Value" type="xs:normalizedString"/>\r
+                            <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>                            \r
+                            <xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:normalizedString"/>\r
                         </xs:sequence>\r
                         <xs:attributeGroup ref="PcdBuildDefinitionAttributes"/>\r
                     </xs:complexType>\r