Fix 'make check'
authorPeter Harris <pharris@opentext.com>
Thu, 23 Sep 2010 03:26:16 +0000 (23:26 -0400)
committerPeter Harris <pharris@opentext.com>
Thu, 23 Sep 2010 03:27:18 +0000 (23:27 -0400)
Adds support for optional bitcase names.
Partially reverts 76ca2c0b152 which appears to have added fixed_type to
xproto.xml by accident.

Signed-off-by: Peter Harris <pharris@opentext.com>
src/xcb.xsd
src/xproto.xml

index 5169b48..7fdf125 100644 (file)
@@ -66,6 +66,7 @@ authorization from the authors.
         <xsd:element ref="switch" minOccurs="0" maxOccurs="unbounded" />
       </xsd:choice>
     </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="optional" />
   </xsd:complexType>
 
   <!-- switch expression -->
index 87dd762..2d76efa 100644 (file)
@@ -833,7 +833,7 @@ authorization from the authors.
     <field type="CARD16" name="class" enum="WindowClass" />
     <field type="VISUALID" name="visual" />
     <field type="CARD32" name="value_mask" enum="CW" />
-    <switch name="value_list" fixed_type="CARD32">
+    <switch name="value_list">
       <fieldref>value_mask</fieldref>
       <bitcase>
        <enumref ref="CW">BackPixmap</enumref>