diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-25 23:04:27 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-25 23:04:27 +0000 |
commit | 5529d1f8aa1a1fa9e484447e2de3034f11e9de39 (patch) | |
tree | 246c8e6b1072970476360d064e83ac16c3088689 /Tools/XMLSchema | |
parent | 156ed4d0b59fd7ceced0c277098c9f1ce4bbbb29 (diff) | |
download | edk2-5529d1f8aa1a1fa9e484447e2de3034f11e9de39.tar.gz edk2-5529d1f8aa1a1fa9e484447e2de3034f11e9de39.tar.bz2 edk2-5529d1f8aa1a1fa9e484447e2de3034f11e9de39.zip |
Made sure that the Extern element groups were clearly defined, made sure that a Driver group contains a DriverBinding, if it will contain a ComponentName and/or DriverConfig and/or DriverDiag statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1616 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r-- | Tools/XMLSchema/FrameworkDataElements.xsd | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index 0695932c7d..a900080f4b 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -241,32 +241,32 @@ <xs:element minOccurs="0" maxOccurs="unbounded" name="Specification" type="Sentence"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Extern">
<xs:complexType>
- <xs:choice minOccurs="1">
- <xs:sequence>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:sequence minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en">Driver Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs="0" maxOccurs="1" name="ModuleEntryPoint" type="C_NameType"/>
<xs:element minOccurs="0" maxOccurs="1" name="ModuleUnloadImage" type="C_NameType"/>
</xs:sequence>
- <xs:sequence>
+ <xs:sequence minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en">Library Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs="0" maxOccurs="1" name="Constructor" type="C_NameType"/>
<xs:element minOccurs="0" maxOccurs="1" name="Destructor" type="C_NameType"/>
</xs:sequence>
- <xs:sequence>
+ <xs:sequence minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en">Allow multiple entries for DriverBinding, ComponentName, DriverConfig and DriverDiag elements. For ComponentName, DriverConfig and/or DriverDiag - you must have a 1:1 mapping to DriverBinding if the element is defined.</xs:documentation>
<xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>
</xs:annotation>
- <xs:element minOccurs="0" maxOccurs="1" name="DriverBinding" type="C_NameType"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="DriverBinding" type="C_NameType"/>
<xs:element minOccurs="0" maxOccurs="1" name="ComponentName" type="C_NameType"/>
<xs:element minOccurs="0" maxOccurs="1" name="DriverConfig" type="C_NameType"/>
<xs:element minOccurs="0" maxOccurs="1" name="DriverDiag" type="C_NameType"/>
</xs:sequence>
- <xs:sequence>
+ <xs:sequence minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>
</xs:annotation>
|