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/xsd/cmd-component.xsd

    r6907 r6908  
    211211                            </sch:rule>
    212212                        </sch:pattern>
    213                         <sch:pattern id="a_nest">
    214                             <sch:title>Check attribute nesting</sch:title>
    215                             <sch:rule context="Attribute" role="warning">
    216                                 <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>
    217                             </sch:rule>
    218                         </sch:pattern>
    219213                    </xs:appinfo>
    220214                </xs:annotation>
Note: See TracChangeset for help on using the changeset viewer.