[Xcb] Validity problem in extensions/glx.xml

Josh Triplett josh at freedesktop.org
Fri Feb 24 16:27:46 PST 2006

I'm currently in the process of making xcb-proto validate protocol
descriptions against the schema during the build, if xmllint is
available.  Before doing so, I'm trying to fix the current validity

One bug in the schema stems from the fact that if you specify an
attribute without specifying use="optional" or use="required", the
default is optional; thus, I'm going through the schema and explicitly
marking attributes as required.  In doing so, I found that
extensions/glx.xml has an error, "Generic", with no number attribute.
My original intention was that the number attribute was required.  Is
there some reason that errors without a number should be allowed?  Is it
really the case that all errors consist of copies of Generic, with 21
bytes of padding?  Or are the other errors more specific and need to
fill in the padding?

- Josh Triplett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060224/b0714688/signature.pgp

More information about the Xcb mailing list