[Xcb] [PATCH proto 3/7] schema: add rule for sumof with nested expression

Christian Linhart chris at demorecorder.com
Wed Sep 3 04:17:56 PDT 2014


---
 src/xcb.xsd | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xcb.xsd b/src/xcb.xsd
index 85f5bc2..4ee578c 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -158,14 +158,17 @@ authorization from the authors.
       <xsd:element name="popcount">
         <xsd:complexType>
           <xsd:group ref="expression" />
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="sumof">
         <xsd:complexType>
+          <xsd:sequence>
+            <xsd:group ref="expression" minOccurs="0" maxOccurs="1"/>
+          </xsd:sequence>
           <xsd:attribute name="ref" use="required" type="xsd:string" />
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="value" type="xsd:integer" />
       <xsd:element name="bit" type="bitType" />
     </xsd:choice>
   </xsd:group>
-- 
2.0.1



More information about the Xcb mailing list