Преглед изворни кода

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>