[Xcb] schema for xcb validation

Thomas Hunger hto at arcor.de
Fri Mar 2 02:27:12 PST 2007


Hello,

the attachment contains a simple validator scheme written in relax ng 
compact syntax [1] for the xcb xml description language. It can be 
convertet to something xmllint understands by e.g. trang [2]:

# trang xcb-schema.rnc xcb-schema.rng
# xmllint --relaxng schema.rng -o /dev/null xproto.xml

I have some progress on the python generator, but it is more difficult 
than I imagined. So if anybody was hacking in secret on a similar 
script I'd very much like to join our efforts.

[1] http://relaxng.org
[2] http://www.thaiopensource.com/relaxng/trang.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xcb-schema.patch
Type: text/x-diff
Size: 3360 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20070302/6985a348/xcb-schema.bin


More information about the Xcb mailing list