1 <schema xmlns="http://www.ascc.net/xml/schematron" >
2 <pattern name="Open model">
4 <assert test="BBB"> BBB element is not present</assert>
5 <assert test="CCC"> CCC element is not present</assert>
8 <pattern name="Closed model">
10 <assert test="BBB"> BBB element is not present</assert>
11 <assert test="CCC"> CCC element is not present</assert>
12 <assert test="count(BBB|CCC) = count (*)">There is an extra element</assert>