Ignore:
Timestamp:
01/14/16 13:05:14 (9 years ago)
Author:
Menzo Windhouwer
Message:

M toolkit/src/main/resources/toolkit/xsd/cmd-component.xsd
M toolkit/src/main/resources/toolkit/sch/cmd-component-best-practices.sch

  • moved a_nest Schematron rule to best practices

M toolkit/src/main/resources/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl

  • added TODO
File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/src/main/resources/toolkit/sch/cmd-component-best-practices.sch

    r6907 r6908  
    1111    </sch:pattern>
    1212   
     13    <sch:pattern id="a_nest">
     14        <sch:title>Check attribute nesting</sch:title>
     15        <sch:rule context="Attribute" role="warning">
     16            <sch:assert test="empty((ancestor::Component|ancestor::Element)[1][@name=current()/@ame])">An attribute has the same name ('<sch:value-of select="@name"/>') as its element or component! Please, consider to rename one of them.</sch:assert>
     17        </sch:rule>
     18    </sch:pattern>
     19   
    1320</sch:schema>
Note: See TracChangeset for help on using the changeset viewer.