summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-20 07:26:07 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-20 07:26:07 +0000
commitbce810a12eb6ed18d23cd688b31ed7c3f6427e89 (patch)
treef42510ac9ae41ffa95dbb94dac1f66e23bfa10ee /Tools/XMLSchema
parent60a73645cd8d7f2db545d8d1c11f33cb5d44b723 (diff)
downloadedk2-platforms-bce810a12eb6ed18d23cd688b31ed7c3f6427e89.tar.xz
changed back to old Abstract and Version in SpdHeader for ModuleEditor and PackageEditor compatible issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@570 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r--Tools/XMLSchema/FrameworkDataElements.xsd9
-rw-r--r--Tools/XMLSchema/FrameworkHeaders.xsd2
2 files changed, 9 insertions, 2 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd
index 8e00b70ea6..4684c7198c 100644
--- a/Tools/XMLSchema/FrameworkDataElements.xsd
+++ b/Tools/XMLSchema/FrameworkDataElements.xsd
@@ -19,11 +19,18 @@
<xs:include schemaLocation="FrameworkDataTypes.xsd"/>
<xs:include schemaLocation="FrameworkPlatformDataTypes.xsd"/>
<xs:include schemaLocation="FrameworkDataAttributes.xsd"/>
- <xs:element name="Abstract" type="Sentence">
+ <xs:element name="Abstract">
<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 c08d7fc6f9..8622cdf5c9 100644
--- a/Tools/XMLSchema/FrameworkHeaders.xsd
+++ b/Tools/XMLSchema/FrameworkHeaders.xsd
@@ -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" ref="Version"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Version" type="xs:decimal"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>