| 1 | Fix for xcb-proto-1.12 make check:
|
|---|
| 2 |
|
|---|
| 3 | --- a/src/xcb.xsd
|
|---|
| 4 | +++ b/src/xcb.xsd
|
|---|
| 5 | @@ -44,6 +44,15 @@ authorization from the authors.
|
|---|
| 6 | <xsd:complexType>
|
|---|
| 7 | <xsd:attribute name="bytes" type="xsd:integer" use="optional" />
|
|---|
| 8 | <xsd:attribute name="align" type="xsd:integer" use="optional" />
|
|---|
| 9 | + <xsd:attribute name="serialize" type="xsd:boolean" use="optional" />
|
|---|
| 10 | + </xsd:complexType>
|
|---|
| 11 | + </xsd:element>
|
|---|
| 12 | +
|
|---|
| 13 | + <!-- Alignment -->
|
|---|
| 14 | + <xsd:element name="required_start_align" >
|
|---|
| 15 | + <xsd:complexType>
|
|---|
| 16 | + <xsd:attribute name="align" type="xsd:integer" use="required" />
|
|---|
| 17 | + <xsd:attribute name="offset" type="xsd:integer" use="optional" />
|
|---|
| 18 | </xsd:complexType>
|
|---|
| 19 | </xsd:element>
|
|---|
| 20 |
|
|---|
| 21 | @@ -76,14 +85,13 @@ authorization from the authors.
|
|---|
| 22 | <xsd:sequence>
|
|---|
| 23 | <!-- switch(expression) -->
|
|---|
| 24 | <xsd:group ref="expression" minOccurs="1" maxOccurs="1" />
|
|---|
| 25 | + <xsd:element ref="required_start_align" minOccurs="0" maxOccurs="1" />
|
|---|
| 26 | <xsd:choice>
|
|---|
| 27 | <!-- bitcase expression - bit test -->
|
|---|
| 28 | <xsd:element name="bitcase" type="caseexpr" minOccurs="0" maxOccurs="unbounded" />
|
|---|
| 29 | <!-- case expression - value test -->
|
|---|
| 30 | <xsd:element name="case" type="caseexpr" minOccurs="0" maxOccurs="unbounded" />
|
|---|
| 31 | </xsd:choice>
|
|---|
| 32 | - <!-- default: -->
|
|---|
| 33 | - <xsd:group ref="fields" minOccurs="0" maxOccurs="1" />
|
|---|
| 34 | </xsd:sequence>
|
|---|
| 35 | <xsd:attribute name="name" type="xsd:string" use="required" />
|
|---|
| 36 | </xsd:complexType>
|
|---|
| 37 | @@ -201,6 +209,7 @@ authorization from the authors.
|
|---|
| 38 | <xsd:element ref="field" />
|
|---|
| 39 | <xsd:element ref="list" />
|
|---|
| 40 | <xsd:element ref="fd" />
|
|---|
| 41 | + <xsd:element ref="required_start_align" />
|
|---|
| 42 | </xsd:choice>
|
|---|
| 43 | </xsd:group>
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|