[Xcb] [PATCH proto] Remove extraneous spaces between <value> tags

Vincent W. Chen noodlewiz at gmail.com
Wed Apr 9 18:34:31 PDT 2014


These are the only places where spaces are allowed between <value> tags.
This is not only inconsistent but also complicates the parsing of values
as integers.
---
 src/dri2.xml        | 2 +-
 src/xf86vidmode.xml | 2 +-
 src/xinput.xml      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/dri2.xml b/src/dri2.xml
index 0160c6b..20d6649 100644
--- a/src/dri2.xml
+++ b/src/dri2.xml
@@ -98,7 +98,7 @@ authorization from the authors.
 	      <op op="&">
 		  <op op="+">
 		      <fieldref>driver_name_length</fieldref>
-		      <value> 3 </value>
+		      <value>3</value>
 		  </op>
 		  <unop op="~">
 		      <value>3</value>
diff --git a/src/xf86vidmode.xml b/src/xf86vidmode.xml
index 9dacaef..a165c11 100644
--- a/src/xf86vidmode.xml
+++ b/src/xf86vidmode.xml
@@ -159,7 +159,7 @@ authorization from the authors.
 		    <op op="&">
 			<op op="+">
 			    <fieldref>vendor_length</fieldref>
-			    <value> 3 </value>
+			    <value>3</value>
 			</op>
 			<unop op="~">
 			    <value>3</value>
diff --git a/src/xinput.xml b/src/xinput.xml
index fa115bd..924c003 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1000,7 +1000,7 @@ authorization from the authors.
     <!-- ChangeDeviceProperty -->
 
     <enum name="PropertyFormat">
-        <item name="8Bits">  <value> 8</value> </item>
+        <item name="8Bits">  <value>8</value> </item>
         <item name="16Bits"> <value>16</value> </item>
         <item name="32Bits"> <value>32</value> </item>
     </enum>
-- 
1.9.1



More information about the Xcb mailing list