projects
/
free-sw
/
xcb
/
proto
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xinput: add TODO list
[free-sw/xcb/proto]
/
src
/
xcb.xsd
diff --git
a/src/xcb.xsd
b/src/xcb.xsd
index
77a696f
..
59bb9a8
100644
(file)
--- a/
src/xcb.xsd
+++ b/
src/xcb.xsd
@@
-163,7
+163,7
@@
authorization from the authors.
</xsd:complexType>
</xsd:element>
<xsd:element name="value" type="xsd:integer" />
</xsd:complexType>
</xsd:element>
<xsd:element name="value" type="xsd:integer" />
- <xsd:element name="bit" type="
xsd:integer
" />
+ <xsd:element name="bit" type="
bitType
" />
</xsd:choice>
</xsd:group>
</xsd:choice>
</xsd:group>
@@
-224,6
+224,14
@@
authorization from the authors.
<xsd:attribute name="ref" type="xsd:string" use="required" />
</xsd:complexType>
<xsd:attribute name="ref" type="xsd:string" use="required" />
</xsd:complexType>
+ <!-- Type for bit values -->
+ <xsd:simpleType name="bitType">
+ <xsd:restriction base="xsd:integer">
+ <xsd:minInclusive value="0" />
+ <xsd:maxExclusive value="32" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
<!-- Type for documentation -->
<xsd:group name="doc-fields">
<xsd:sequence>
<!-- Type for documentation -->
<xsd:group name="doc-fields">
<xsd:sequence>
@@
-352,8
+360,8
@@
authorization from the authors.
<xsd:element name="item">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="item">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="1">
- <xsd:element name="value" type="xsd:
integer
" />
- <xsd:element name="bit" type="
xsd:integer
" />
+ <xsd:element name="value" type="xsd:
unsignedInt
" />
+ <xsd:element name="bit" type="
bitType
" />
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>