summaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-19 07:16:40 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-19 07:16:40 +0200
commit87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8 (patch)
treee92aec0ece03cafac6aefe362360c39593bcbc34 /xml
parent8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf (diff)
downloadpcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.gz
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.bz2
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.xz
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.zip
Add optional description in the value name-aliases
Diffstat (limited to 'xml')
-rw-r--r--xml/types.xsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/xml/types.xsd b/xml/types.xsd
index 2346b9d..edcfb08 100644
--- a/xml/types.xsd
+++ b/xml/types.xsd
@@ -68,6 +68,7 @@
<xsd:attribute name="path" type="xsd:string" />
<xsd:attribute name="read_from_register" type="xsd:string" />
<xsd:attribute name="write_to_register" type="xsd:string" />
+ <!-- xsd 1.1 <xsd:assert test="(@path and not(@name)) or (not(@path) and @name)"/> -->
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
@@ -87,6 +88,7 @@
<xsd:attribute name="min" type="pcilib_register_value_t" />
<xsd:attribute name="max" type="pcilib_register_value_t" />
<xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:attribute name="description" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="pcilib_unit_t">