]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/NamingConvention.xsd
Intermediate Check-in this MSA schema handles both old and new elements.
[mirror_edk2.git] / Tools / XMLSchema / NamingConvention.xsd
index ca19200321dd9d9e68d10b5964cafc87b94e9bcc..a44d3b6bad1ab6a60bcd1a5543ad45aba373336c 100644 (file)
             <xs:pattern value="0x[a-fA-F0-9]{1,8},( )*0x[a-fA-F0-9]{1,4},( )*0x[a-fA-F0-9]{1,4}(,( )*\{)?(,?( )*0x[a-fA-F0-9]{1,2}){8}( )*(\})?"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="GuidC_NameType">\r
+        <xs:annotation>\r
+            <xs:documentation xml:lang="en"> C_Names must start with either an underscore (_) character followed by one or more alpha characters, followed by any combination of underscore or alphanumeric characters.</xs:documentation>\r
+        </xs:annotation>\r
+        <xs:restriction base="xs:string">\r
+            <xs:pattern value="((_)*([a-zA-Z])+((_)*[a-zA-Z0-9]*))*"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="GuidNamingConvention">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> A GUID must contain five different Hexadecimal character sets that are separated by a dash (-) character. </xs:documentation>\r