xref: /aosp_15_r20/external/libxml2/test/schematron/zvon15.sct (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1<schema xmlns="http://www.ascc.net/xml/schematron" >
2     <pattern name="id is the only permited attribute name">
3          <rule context="*">
4               <report test="@*[not(name()='id')]">Attribute
5                    <name path="@*[not(name()='id')]"/> is forbidden in element
6                    <name/>
7               </report>
8          </rule>
9     </pattern>
10</schema>
11
12