1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00
libxml2/test/schematron/zvon15.sct
Daniel Veillard d541c8f8b4 report improvement more tests Daniel
* schematron.c: report improvement
* test/schematron/zvon* result/schematron/zvon*: more tests
Daniel
2005-07-31 16:49:51 +00:00

12 lines
382 B
Plaintext

<schema xmlns="http://www.ascc.net/xml/schematron" >
<pattern name="id is the only permited attribute name">
<rule context="*">
<report test="@*[not(name()='id')]">Attribute
<name path="@*[not(name()='id')]"/> is forbidden in element
<name/>
</report>
</rule>
</pattern>
</schema>