Added CreatedDate to Schema - headers have it included with a choice for Created or CreatedDate so that we can migrate to the new CreatedDate at some point in the future in all of the Framework files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@276 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-05-25 15:34:26 +00:00
parent a3657e3e7a
commit 0fce57e796
2 changed files with 65 additions and 44 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://www.TianoCore.org/2006/Edk2.0" targetNamespace="http://www.TianoCore.org/2006/Edk2.0"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://www.TianoCore.org/2006/Edk2.0" targetNamespace="http://www.TianoCore.org/2006/Edk2.0">
<!-- <!--
Filename: FrameworkDataElements.xsd Filename: FrameworkDataElements.xsd
Copyright (c) 2006, Intel Corp. Copyright (c) 2006, Intel Corp.
@ -12,40 +12,33 @@
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
--> -->
<xs:annotation>
<xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>
</xs:annotation>
<xs:include schemaLocation="NamingConvention.xsd"/>
<xs:include schemaLocation="FrameworkDataTypes.xsd"/>
<xs:element name="Abstract" type="Sentence">
<xs:annotation> <xs:annotation>
<xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation> <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:annotation>
<xs:include schemaLocation="NamingConvention.xsd"/> </xs:element>
<xs:include schemaLocation="FrameworkDataTypes.xsd"/> <xs:element name="AntCmd">
<xs:element name="Abstract"> <xs:annotation>
<xs:annotation> <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>
<xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation> <xs:documentation xml:lang="en">This is an ant command that will be inserted into a biuld sequence. Since ant commands are valid XML statements, special care must be taken to use the correct tokens for reserved words and escape quote characters.</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:annotation> <xs:complexType>
<xs:complexType> <xs:sequence>
<xs:simpleContent> <xs:element minOccurs="0" name="Id" type="xs:int"/>
<xs:extension base="Sentence"> <xs:element name="ExecutionOrder">
<xs:attribute name="URL" type="xs:anyURI"/> <xs:simpleType>
</xs:extension> <xs:list itemType="xs:normalizedString"/>
</xs:simpleContent> </xs:simpleType>
</xs:complexType> </xs:element>
</xs:element> </xs:sequence>
<xs:element name="AntCmd"> <xs:attributeGroup ref="SectionAttributes"/>
<xs:annotation> </xs:complexType>
<xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>
<xs:documentation xml:lang="en">This is an ant command that will be inserted into a biuld sequence. Since ant commands are valid XML statements, special care must be taken to use the correct tokens for reserved words and escape quote characters.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="Id" type="xs:int"/>
<xs:element name="ExecutionOrder">
<xs:simpleType>
<xs:list itemType="xs:normalizedString"/>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="SectionAttributes"/>
</xs:complexType>
</xs:element> </xs:element>
<xs:element name="AntTask"> <xs:element name="AntTask">
<xs:annotation> <xs:annotation>
@ -172,6 +165,7 @@
<xs:element name="Constructor" type="C_Name"/> <xs:element name="Constructor" type="C_Name"/>
<xs:element name="Copyright" type="Sentence"/> <xs:element name="Copyright" type="Sentence"/>
<xs:element name="Created" type="DateType"/> <xs:element name="Created" type="DateType"/>
<xs:element name="CreatedDate" type="DateType"/>
<xs:element name="CreatedBy" type="UserName"/> <xs:element name="CreatedBy" type="UserName"/>
<xs:element name="DataHubs"> <xs:element name="DataHubs">
<xs:annotation> <xs:annotation>

View File

@ -24,7 +24,10 @@
<xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/> <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Version"/> <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Path"/> <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<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="Updated"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/> <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
@ -45,8 +48,14 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/> <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Modified"/> <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
<xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@ -62,8 +71,14 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/> <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Modified"/> <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
<xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
</xs:choice>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@ -83,9 +98,12 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/> <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<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="Updated"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@ -104,9 +122,12 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/> <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<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="Updated"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@ -128,7 +149,10 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="0" maxOccurs="1" ref="License"/> <xs:element minOccurs="0" maxOccurs="1" ref="License"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy"> <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">
<xs:annotation> <xs:annotation>
<xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation> <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
@ -153,7 +177,10 @@
<xs:element minOccurs="1" maxOccurs="1" ref="Description"/> <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/> <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
<xs:element minOccurs="1" maxOccurs="1" ref="License"/> <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
<xs:element minOccurs="1" maxOccurs="1" ref="Created"/> <xs:choice minOccurs="1" maxOccurs="1">
<xs:element minOccurs="0" maxOccurs="1" ref="Created"/>
<xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/> <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Updated"/> <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
<xs:element minOccurs="0" maxOccurs="1" ref="URL"/> <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>