summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-14 02:14:50 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-14 02:14:50 +0000
commit9d617132f64786ba20a0f9f8b3959e9cce2b846d (patch)
treec9106a11f4f6a2a1eafbf83ce30caae917d1e9fb /Tools/XMLSchema
parentfad77353ed83a0fdac957509dc2838423ae009fd (diff)
downloadedk2-platforms-9d617132f64786ba20a0f9f8b3959e9cce2b846d.tar.xz
Updated MsaFiles to be a choice of <Filename> [1..*] or <MsaFile> [1..*] and added the ModuleGuid, ModuleName and ModuleVersion to the FilenameAttributes in the Transistion Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@505 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r--Tools/XMLSchema/FrameworkDataAttributes.xsd3
-rw-r--r--Tools/XMLSchema/FrameworkDataElements.xsd3
2 files changed, 6 insertions, 0 deletions
diff --git a/Tools/XMLSchema/FrameworkDataAttributes.xsd b/Tools/XMLSchema/FrameworkDataAttributes.xsd
index 5e6bf5bcbf..4fdd9883c3 100644
--- a/Tools/XMLSchema/FrameworkDataAttributes.xsd
+++ b/Tools/XMLSchema/FrameworkDataAttributes.xsd
@@ -132,6 +132,9 @@
<!-- DO NOT USE remove Arch from use, use SupArchList instead -->
<xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
<xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
+ <xs:attribute name="ModuleName" type="xs:NCName" use="optional"/>
+ <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>
+ <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>
<!-- DO NOT USE remove EnableFeature from use -->
<xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
<xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd
index 69ff209f46..c6bf6b2d09 100644
--- a/Tools/XMLSchema/FrameworkDataElements.xsd
+++ b/Tools/XMLSchema/FrameworkDataElements.xsd
@@ -858,6 +858,7 @@
<xs:element name="ModuleUnloadImage" type="xs:normalizedString"/>
<xs:element name="MsaFiles">
<xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:sequence minOccurs="1">
<xs:element minOccurs="0" maxOccurs="unbounded" name="MsaFile">
<xs:annotation>
@@ -892,6 +893,8 @@
</xs:complexType>
</xs:element>
</xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="unbounded" ref="Filename"/>
+ </xs:choice>
</xs:complexType>
</xs:element>
<!-- Use in Final -->