A schema
contains a title
and a pattern
Each pattern
contains rule
child elements
Each rule
contains assert
and has a
context
attribute
Each assert
element
has a test
attribute containing an XPath expression
which returns (or can be cast to) a boolean.
The contents of each assert
element is printed if the assertion test fails