Explorar o código

Enforce 4 digits in XML representation of vendor and device ids

Suren A. Chilingaryan %!s(int64=8) %!d(string=hai) anos
pai
achega
bf64cc22b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>