mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-20 18:50:08 +03:00
* schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel
9 lines
409 B
Plaintext
9 lines
409 B
Plaintext
<schema xmlns="http://www.ascc.net/xml/schematron" >
|
|
<pattern name="Attributes present">
|
|
<rule context="BBB">
|
|
<assert test="not(@aaa) or (@aaa and @bbb)">The element must not have an isolated aaa attribute</assert>
|
|
<assert test="not(@bbb) or (@aaa and @bbb)">The element must not have an isolated bbb attribute</assert>
|
|
</rule>
|
|
</pattern>
|
|
</schema>
|