Re: wayland implementation conformance

2011-01-27 Thread Jeremy Volkman
n Thu, Jan 27, 2011 at 1:28 PM, Casey Dahlin wrote: > On Thu, Jan 27, 2011 at 11:35:17AM -0500, Jeremy Volkman wrote: > > Sure. xmllint, which comes with libxml2 (libxml2-utils in Ubuntu), > supports > > RELAX NG these days. > > > > scout:protocol jvolkman$ xmlli

Re: wayland implementation conformance

2011-01-27 Thread Jeremy Volkman
Sure. xmllint, which comes with libxml2 (libxml2-utils in Ubuntu), supports RELAX NG these days. scout:protocol jvolkman$ xmllint --noout --relaxng schema.xml wayland.xml wayland.xml validates -Jeremy 2011/1/27 Kristian Høgsberg > On Wed, Jan 26, 2011 at 5:09 PM, Jeremy Volkman >

Re: wayland implementation conformance

2011-01-26 Thread Jeremy Volkman
Here's my stab at a Wayland schema written in RELAX NG. It can be converted to a W3C schema if preferred, but RELAX NG provides more functionality. For example, the schema is able to require an "interface" attribute for an argument only if the argument type is "object" or "new_id". -Jeremy 2011/1