浏览代码

Enforce 4 digits in XML representation of vendor and device ids

Suren A. Chilingaryan 8 年之前
父节点
当前提交
bf64cc22b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xml/devices.xsd

+ 1 - 1
xml/devices.xsd

@@ -4,7 +4,7 @@
 
   <xsd:simpleType name="hex16_t">
     <xsd:restriction base="xsd:string">
-      <xsd:pattern value="([a-fA-F0-9]){1,4}"/>
+      <xsd:pattern value="([a-fA-F0-9]){4}"/>
     </xsd:restriction>
   </xsd:simpleType>