From 87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Mon, 19 Oct 2015 07:16:40 +0200
Subject: Add optional description in the value name-aliases

---
 xml/types.xsd | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'xml')

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">
-- 
cgit v1.2.3