[PATCH wayland 0/3] Restore DTD and use wayland-scanner to validate
Peter Hutterer
peter.hutterer at who-t.net
Sun Nov 8 20:14:58 PST 2015
This patchset restores the dtd (and adds a new element "description" to the
<protocol> tag) and adds the validation bits. Since expat doesn't validate,
a second library is used (libxml2). To avoid breakage, it's hooked up
independently of the current parser, so we essentially just parse the input
twice, spitting out a warning if the validation fails.
The dtd is built into the scanner, so we can validate external protocols as
well.
Cheers,
Peter
More information about the wayland-devel
mailing list