Added CreatedDate to Schema - headers have it included with a choice for Created...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 May 2006 15:34:26 +0000 (15:34 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 May 2006 15:34:26 +0000 (15:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@276 6f19259b-4bc3-4df7-8a09-765794883524

Tools/XMLSchema/FrameworkDataElements.xsd
Tools/XMLSchema/FrameworkHeaders.xsd

index e5b5dc1..51c2e59 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <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">\r
-    <!--\r
+  <!--\r
     Filename: FrameworkDataElements.xsd\r
     \r
     Copyright (c) 2006, Intel Corp.\r
     WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
     \r
   -->\r
+  <xs:annotation>\r
+    <xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>\r
+  </xs:annotation>\r
+  <xs:include schemaLocation="NamingConvention.xsd"/>\r
+  <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
+  <xs:element name="Abstract" type="Sentence">\r
     <xs:annotation>\r
-        <xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>\r
+      <xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>\r
+      <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>\r
     </xs:annotation>\r
-    <xs:include schemaLocation="NamingConvention.xsd"/>\r
-    <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
-    <xs:element name="Abstract">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>\r
-            <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>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:simpleContent>\r
-                <xs:extension base="Sentence">\r
-                    <xs:attribute name="URL" type="xs:anyURI"/>\r
-                </xs:extension>\r
-            </xs:simpleContent>\r
-        </xs:complexType>\r
-    </xs:element>\r
-    <xs:element name="AntCmd">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>\r
-            <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>\r
-        </xs:annotation>\r
-        <xs:complexType>\r
-            <xs:sequence>\r
-                <xs:element minOccurs="0" name="Id" type="xs:int"/>\r
-                <xs:element name="ExecutionOrder">\r
-                    <xs:simpleType>\r
-                        <xs:list itemType="xs:normalizedString"/>\r
-                    </xs:simpleType>\r
-                </xs:element>\r
-            </xs:sequence>\r
-            <xs:attributeGroup ref="SectionAttributes"/>\r
-        </xs:complexType>\r
+  </xs:element>\r
+  <xs:element name="AntCmd">\r
+    <xs:annotation>\r
+      <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>\r
+      <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>\r
+    </xs:annotation>\r
+    <xs:complexType>\r
+      <xs:sequence>\r
+        <xs:element minOccurs="0" name="Id" type="xs:int"/>\r
+          <xs:element name="ExecutionOrder">\r
+            <xs:simpleType>\r
+              <xs:list itemType="xs:normalizedString"/>\r
+            </xs:simpleType>\r
+          </xs:element>\r
+        </xs:sequence>\r
+        <xs:attributeGroup ref="SectionAttributes"/>\r
+      </xs:complexType>\r
     </xs:element>\r
     <xs:element name="AntTask">\r
         <xs:annotation>\r
     <xs:element name="Constructor" type="C_Name"/>\r
     <xs:element name="Copyright" type="Sentence"/>\r
     <xs:element name="Created" type="DateType"/>\r
+    <xs:element name="CreatedDate" type="DateType"/>\r
     <xs:element name="CreatedBy" type="UserName"/>\r
     <xs:element name="DataHubs">\r
         <xs:annotation>\r
index 9527892..83c7ebf 100644 (file)
                 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
+                </xs:choice>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
+                </xs:choice>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
+                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
+                <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
             </xs:sequence>\r
         </xs:complexType>\r
     </xs:element>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">\r
                    <xs:annotation>\r
                        <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
                 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
-                <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>\r
+                <xs:choice minOccurs="1" maxOccurs="1">\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
+                  <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
+                </xs:choice>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
                 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r