[Xcb] xml schema

Bart Massey bart at cs.pdx.edu
Mon Jul 27 12:30:26 PDT 2015

I can't remember whether we have a structural typedef in the schema so that
it can correspond better with the protocol docs, but if we don't we
probably should. That would capture strings (STRING8, STRING16) as well as
various other corner cases (TIMESTAMP, BUTTON, KEYCODE, etc). For now, it
may be better to just kludge STRING8 and STRING16 into the schema, but it
seems like that could get exciting without some notion of structural type
equivalency, maybe?

On Mon, Jul 27, 2015 at 10:50 AM Ben Hildred <42656e at gmail.com> wrote:

> It is possible that I missed something, but I believe there is a small
> opportunity for improvement to the schema which would make life
> significantly easier for those using languages with a true string type. I
> have noticed that there are at least three different uses for a list of
> integers of a given size in the x protocol. For example a list of bytes can
> be a string (image text 8), an array of numbers (set dashes), or some other
> type of data (set pointer mapping) I have not seen a place to store this
> information in the schema. I doubt it would be used in c but it  would be
> handy for perl where I am using local lookup tables to keep it straight.
> --
> --
> Ben Hildred
> Automation Support Services
> 303 815 6721
>  _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150727/d1d35695/attachment.html>

More information about the Xcb mailing list