Test wayland-scanner's error detection
Submitted by Pekka Paalanen
Assigned to Pekka Paalanen
Wayland-scanner is supposed to detect as much of invalid XML as possible, while leaving it possible to extend the XML language itself with new elements and attributes. However, we have no tests checking that wayland-scanner actually detects any problems at all.
Extend the test suite in wayland repository to run wayland-scanner on various broken XML files, each with excercising a certain error or mistake in the XML, and verify it is rejected accordingly.
Study wayland-scanner to see what errors it can detect, and write test XML files to trigger all those errors.