From 87c6a4af9ff51b31b0763e3863523a84dce082d0 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Tue, 20 Jun 2006 06:57:42 +0000 Subject: merged the new changes in new schema, and corrected many inconsistencies in attributes definitions git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@568 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/XMLSchema/FrameworkDataAttributes.xsd | 206 ++++++++++++---------- Tools/XMLSchema/FrameworkDataElements.xsd | 108 +++++++----- Tools/XMLSchema/FrameworkDataTypes.xsd | 5 + Tools/XMLSchema/FrameworkHeaders.xsd | 6 +- Tools/XMLSchema/FrameworkPlatformDataElements.xsd | 22 ++- Tools/XMLSchema/FrameworkPlatformDataTypes.xsd | 22 +++ Tools/XMLSchema/NamingConvention.xsd | 24 ++- 7 files changed, 241 insertions(+), 152 deletions(-) (limited to 'Tools/XMLSchema') diff --git a/Tools/XMLSchema/FrameworkDataAttributes.xsd b/Tools/XMLSchema/FrameworkDataAttributes.xsd index 67a1a5cb6c..b08c8b7b86 100644 --- a/Tools/XMLSchema/FrameworkDataAttributes.xsd +++ b/Tools/XMLSchema/FrameworkDataAttributes.xsd @@ -66,15 +66,15 @@ + + + + + - - - - - @@ -84,16 +84,16 @@ + + + + - - - - @@ -101,43 +101,46 @@ - - - + + + + + + - - - + + - - + + + + + - - @@ -145,9 +148,6 @@ - - - @@ -159,50 +159,50 @@ - + + + + + - - - - - + - - + + - - + + + + + + + - - - - - @@ -215,7 +215,7 @@ - + @@ -229,14 +229,14 @@ - + - - - + + + @@ -246,7 +246,7 @@ - + @@ -269,18 +269,18 @@ + + + + + + - - - - - - - + @@ -302,8 +302,13 @@ + + + + + - + @@ -312,21 +317,24 @@ + + + + + + + - - - + - - @@ -334,12 +342,13 @@ + + + + - - - @@ -370,7 +379,7 @@ - + @@ -382,7 +391,7 @@ - + @@ -400,68 +409,68 @@ - + - - + + + + + + - - - - + + + + - - - - + + + + - - - - - + - - + + + + + + - - - - @@ -474,7 +483,7 @@ - + @@ -488,21 +497,21 @@ - + + + + + - - - - @@ -510,17 +519,28 @@ + + + + - - - - + + + Attributes are either compressable and/or sequence order binding + + + + + + + + diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index 2015e01676..8e00b70ea6 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -19,18 +19,11 @@ - + Abstract is valid for all Description Files This section is required. This is a single sentence to describe the module and will be used in sample files as the abstract data in the header comment section. - - - - - - - @@ -46,7 +39,6 @@ - @@ -223,7 +215,7 @@ - + @@ -294,7 +286,7 @@ - + @@ -340,7 +332,7 @@ - + @@ -383,7 +375,7 @@ - + @@ -497,7 +489,7 @@ - + @@ -581,12 +573,12 @@ - + - + @@ -597,11 +589,23 @@ + + + Describe the valid content of a GUID element in and MSA file. + + + + + + + + + Describe the valid content of a GUID element in and MSA file. - + @@ -657,7 +661,7 @@ - + @@ -675,7 +679,7 @@ - + @@ -751,7 +755,7 @@ - + @@ -764,7 +768,7 @@ - + @@ -790,6 +794,11 @@ + + + + + @@ -799,7 +808,7 @@ - + @@ -837,8 +846,8 @@ - - + + @@ -952,7 +961,7 @@ - + @@ -996,7 +1005,7 @@ - + @@ -1139,12 +1148,8 @@ This tag is used in the Package Surface Area Description File to track package dependencies for a module (SPD) - - - - - - + + @@ -1614,13 +1619,13 @@ - + - + @@ -1637,7 +1642,7 @@ - + @@ -1646,7 +1651,7 @@ - + @@ -1690,12 +1695,12 @@ - + - + @@ -1712,7 +1717,7 @@ - + @@ -1721,7 +1726,7 @@ - + @@ -1734,7 +1739,7 @@ - + @@ -1743,7 +1748,7 @@ - + @@ -1821,8 +1826,8 @@ - - + + @@ -1853,7 +1858,7 @@ - + @@ -1861,6 +1866,15 @@ + + + + + + + + + @@ -1885,7 +1899,7 @@ - + @@ -1912,7 +1926,7 @@ - + diff --git a/Tools/XMLSchema/FrameworkDataTypes.xsd b/Tools/XMLSchema/FrameworkDataTypes.xsd index 294c407ccf..b99fd2b495 100644 --- a/Tools/XMLSchema/FrameworkDataTypes.xsd +++ b/Tools/XMLSchema/FrameworkDataTypes.xsd @@ -532,5 +532,10 @@ + + + + + diff --git a/Tools/XMLSchema/FrameworkHeaders.xsd b/Tools/XMLSchema/FrameworkHeaders.xsd index ae97f71ccd..c08d7fc6f9 100644 --- a/Tools/XMLSchema/FrameworkHeaders.xsd +++ b/Tools/XMLSchema/FrameworkHeaders.xsd @@ -208,7 +208,7 @@ - + @@ -227,7 +227,7 @@ - + @@ -254,7 +254,7 @@ - + diff --git a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd index 4d163e0ffa..3fb6b07af7 100644 --- a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd +++ b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd @@ -221,11 +221,23 @@ - + + + + + + + + + + + + + This element is used to specify information in the Platform Description File. @@ -273,7 +285,7 @@ - + @@ -367,14 +379,14 @@ - We allow specifying the Flash layout in this directory, or we allow specifying a flashmap filename + We allow specifying the FlashMap filename - + - + diff --git a/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd b/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd index c77ee639e0..ddb27d21ed 100644 --- a/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd +++ b/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd @@ -73,4 +73,26 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tools/XMLSchema/NamingConvention.xsd b/Tools/XMLSchema/NamingConvention.xsd index c301bfbf5a..987c97155c 100644 --- a/Tools/XMLSchema/NamingConvention.xsd +++ b/Tools/XMLSchema/NamingConvention.xsd @@ -31,6 +31,14 @@ + + + C_Names must start with either an underscore (_) character followed by one or more alpha characters, followed by any combination of underscore or alphanumeric characters. + + + + + Directory naming convention is a UNION of DOS an UNIX directory path names @@ -172,7 +180,7 @@ This describes the normal text of a paragraph that can be used in a license or description tag. - + @@ -212,6 +220,14 @@ + + + This data type is used for ToolCommand, ToolChainFamily and TagName. + + + + + Definition of a UpperCase Letter type, which can be any combination of upper case characters followed by zero or more underscore and/or uppercase alphanumeric characters @@ -304,10 +320,10 @@ - Definition of a Version Number, which can be any combination of a number followed by zero or more alphanumeric-dot-alphanumeric characters + Definition of a Version Number, which must be a decimal number (or Zero) - + @@ -330,5 +346,5 @@ - + -- cgit v1.2.3