Remove support for the <localfield> tag: nothing needs it.
authorJamey Sharp <jamey@minilop.net>
Sun, 19 Nov 2006 22:51:26 +0000 (14:51 -0800)
committerJamey Sharp <jamey@minilop.net>
Mon, 20 Nov 2006 04:12:43 +0000 (20:12 -0800)
Only one use of <localfield> remained, for a list length expression in
xv.xml. List length parameters that don't actually appear in the
protocol should be left implicit: if no length expression is given, then
a localfield will be automatically created by c-client.xsl.

src/xcb.xsd
src/xv.xml

index 13ca7de..674a185 100644 (file)
@@ -67,9 +67,6 @@ authorization from the authors.
     </xsd:complexType>
   </xsd:element>
 
-  <!-- Parameters in requests that are not sent with the request. -->
-  <xsd:element name="localfield" type="var" />
-  
   <!-- Expressions -->
   <xsd:group name="expression">
     <xsd:choice>
@@ -162,7 +159,6 @@ authorization from the authors.
           <xsd:sequence>
             <xsd:choice minOccurs="0" maxOccurs="unbounded">
               <xsd:group ref="fields" />
-              <xsd:element ref="localfield" />
               <xsd:element ref="exprfield" />
               <xsd:element ref="valueparam" />
             </xsd:choice>
index 1694f2b..bbaa4eb 100644 (file)
@@ -402,10 +402,7 @@ authorization from the authors.
         <field type="CARD16" name="drw_h" />
         <field type="CARD16" name="width" />
         <field type="CARD16" name="height" />
-        <localfield type="CARD32" name="data_size" />
-        <list type="CARD8" name="data">
-            <fieldref>data_size</fieldref>
-        </list>
+       <list type="CARD8" name="data" />
     </request>
 
     <request name="ShmPutImage" opcode="19">