summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-09 02:34:31 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-09 02:34:31 +0100
commitbf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0 (patch)
tree7ca7c16ed629c995c1b60ea62bdb2b4976c4c4e4
parent3efe83956be40c98f3ac44cd186a056ec5cf0066 (diff)
downloadpcitool-bf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0.tar.gz
pcitool-bf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0.tar.bz2
pcitool-bf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0.tar.xz
pcitool-bf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0.zip
Enforce 4 digits in XML representation of vendor and device ids
-rw-r--r--xml/devices.xsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/devices.xsd b/xml/devices.xsd
index 27e9b39..d6e00fe 100644
--- a/xml/devices.xsd
+++ b/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>