libxml2 2.9.1 clean sources
[tomato/tomato-dir865l.git] / release / src / router / libxml2 / test / schematron / zvon9.sct
blob6f67877f17140287f4af904e0e4eb417813549f7
1 <schema xmlns="http://www.ascc.net/xml/schematron" >
2      <pattern name="Test attribute">
3           <rule context="CCC">
4                <report test="parent::BBB and not(@id)">Attribute id is missing</report>
5                <report test="not(parent::BBB) and @id">Attribute id is used in wrong context</report>
6           </rule>
7      </pattern>
8 </schema>