Had to put the Attribute, URL back into the Abstract so that Module Editor would...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 May 2006 17:56:40 +0000 (17:56 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 May 2006 17:56:40 +0000 (17:56 +0000)
When we can figure out how to remove them from the ModuleEditor, we can remove them from the Schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@279 6f19259b-4bc3-4df7-8a09-765794883524

Tools/XMLSchema/FrameworkDataElements.xsd

index 51c2e59..284e708 100644 (file)
   </xs:annotation>\r
   <xs:include schemaLocation="NamingConvention.xsd"/>\r
   <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
-  <xs:element name="Abstract" type="Sentence">\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" use="optional"/>\r
+          </xs:extension>\r
+        </xs:simpleContent>\r
+      </xs:complexType>\r
   </xs:element>\r
   <xs:element name="AntCmd">\r
     <xs:annotation>\r
         <xs:complexType>\r
             <xs:simpleContent>\r
                 <xs:extension base="Paragraph">\r
-                    <xs:attribute name="URL" type="xs:anyURI"/>\r
+                    <xs:attribute name="URL" type="xs:anyURI" use="optional"/>\r
                 </xs:extension>\r
             </xs:simpleContent>\r
         </xs:complexType>\r