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

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to