Changeset 6906


Ignore:
Timestamp:
01/14/16 12:00:54 (8 years ago)
Author:
Menzo Windhouwer
Message:

M toolkit/general-component-schema.xsd

  • removed c_nest Schematron rule, which concers a best practice warning and not really a validation issue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/branches/cmdi-1.1/toolkit/general-component-schema.xsd

    r6905 r6906  
    5555                </sch:pattern>
    5656                <!-- TODO: the names of referenced external components are not known, so we can't currently check two or more of them use the same name -->
    57                 <sch:pattern id="c_nest">
    58                     <sch:title>Check nesting</sch:title>
    59                     <sch:rule context="CMD_Component[exists(CMD_Component|CMD_Element)]" role="warning">
    60                         <sch:assert test="empty((CMD_Component|CMD_Element)[@name=current()/@name])">A nested component or element has the same name ('<sch:value-of select="@name"/>') as this component! Please, consider to rename one of them.</sch:assert>
    61                     </sch:rule>
    62                 </sch:pattern>
    6357            </xs:appinfo>           
    6458        </xs:annotation>
Note: See TracChangeset for help on using the changeset viewer.