diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 08:41:13 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 08:41:13 +0000 |
commit | 41eec21d72be98d383bf146644d7ccc17b2f88f7 (patch) | |
tree | 1e501587368090a9b566536f0e38c5283049bbaf | |
parent | bce810a12eb6ed18d23cd688b31ed7c3f6427e89 (diff) | |
download | edk2-41eec21d72be98d383bf146644d7ccc17b2f88f7.zip edk2-41eec21d72be98d383bf146644d7ccc17b2f88f7.tar.gz edk2-41eec21d72be98d383bf146644d7ccc17b2f88f7.tar.bz2 |
changed Specification to string and changed back Abstract to new schema format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@571 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/XMLSchema/FrameworkDataElements.xsd | 9 | ||||
-rw-r--r-- | Tools/XMLSchema/FrameworkHeaders.xsd | 16 |
2 files changed, 9 insertions, 16 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index 4684c71..8e00b70 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -19,18 +19,11 @@ <xs:include schemaLocation="FrameworkDataTypes.xsd"/>
<xs:include schemaLocation="FrameworkPlatformDataTypes.xsd"/>
<xs:include schemaLocation="FrameworkDataAttributes.xsd"/>
- <xs:element name="Abstract">
+ <xs:element name="Abstract" type="Sentence">
<xs:annotation>
<xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>
<xs:documentation xml:lang="en">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.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="Sentence">
- <xs:attribute name="URL" type="xs:anyURI" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
</xs:element>
<xs:element name="AntCmd">
<xs:annotation>
diff --git a/Tools/XMLSchema/FrameworkHeaders.xsd b/Tools/XMLSchema/FrameworkHeaders.xsd index 8622cdf..a0104f5 100644 --- a/Tools/XMLSchema/FrameworkHeaders.xsd +++ b/Tools/XMLSchema/FrameworkHeaders.xsd @@ -46,7 +46,7 @@ <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
<!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
</xs:sequence>
</xs:complexType>
@@ -64,7 +64,7 @@ <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
@@ -89,7 +89,7 @@ <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
@@ -141,7 +141,7 @@ </xs:choice>
<xs:element default="false" minOccurs="0" name="BinaryModule" type="xs:boolean"/>
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -166,7 +166,7 @@ <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -208,7 +208,7 @@ <!-- DO NOT USE BuildTarget needs to be removed -->
<xs:element minOccurs="0" maxOccurs="1" name="BuildTarget" type="BuildTargets"/>
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -227,7 +227,7 @@ <!-- GuidValue needs to be required -->
<xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
</xs:choice>
- <xs:element minOccurs="1" maxOccurs="1" name="Version" type="xs:decimal"/>
+ <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
@@ -254,7 +254,7 @@ <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>
<xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
- <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>
<!-- OutputDirectory needs to be removed -->
<xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>
</xs:sequence>
|