mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-20 18:50:08 +03:00
* win32/Makefile.msvc win32/configure.js: applied patch from Rob Richards to add schematron to the build on Windows * test/schematron/zvon3* result/schematron/zvon3*: second test * test/schematron/zvon10* result/schematron/zvon10*: this is the real second test 10 and 2 are swapped. Daniel
16 lines
637 B
Plaintext
16 lines
637 B
Plaintext
<schema xmlns="http://www.ascc.net/xml/schematron" >
|
|
<pattern name="Open model">
|
|
<rule context="AAA">
|
|
<assert test="BBB"> BBB element is not present</assert>
|
|
<assert test="CCC"> CCC element is not present</assert>
|
|
</rule>
|
|
</pattern>
|
|
<pattern name="Closed model">
|
|
<rule context="AAA">
|
|
<assert test="BBB"> BBB element is not present</assert>
|
|
<assert test="CCC"> CCC element is not present</assert>
|
|
<assert test="count(BBB|CCC) = count (*)">There is an extra element</assert>
|
|
</rule>
|
|
</pattern>
|
|
</schema>
|