mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
d541c8f8b4
* schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel
11 lines
416 B
Plaintext
11 lines
416 B
Plaintext
<schema xmlns="http://www.ascc.net/xml/schematron" >
|
|
<pattern name="Test count">
|
|
<rule context="/*">
|
|
<report test="count(//BBB) = count(//AAA)">O.K.</report>
|
|
<assert test="count(//BBB) <= count(//AAA)">Some AAA are missing</assert>
|
|
<report test="count(//BBB) < count(//AAA)">Some BBB are missing</report>
|
|
</rule>
|
|
</pattern>
|
|
</schema>
|
|
|