Added ZeroOrOne Data Type, for use with ErasePolarity FlashDeviceInfo attribute
authorlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 11 May 2006 14:38:45 +0000 (14:38 +0000)
committerlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 11 May 2006 14:38:45 +0000 (14:38 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@129 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/Tools/XMLSchema/NamingConvention.xsd

index 4f998b8..3faf1b9 100644 (file)
             <xs:pattern value="0"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="ZeroOrOne">\r
+        <xs:annotation>\r
+            <xs:documentation xml:lang="en">Define Zero as a vaild value</xs:documentation>\r
+        </xs:annotation>\r
+        <xs:restriction base="xs:int">\r
+            <xs:pattern value="0|1"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="OldVersionDataType">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> Definition of a Version Number, which can be any combination of a number followed by zero or more alphanumeric-dot-alphanumeric characters </xs:documentation>\r