Changeset 6906
- Timestamp:
- 01/14/16 12:00:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/branches/cmdi-1.1/toolkit/general-component-schema.xsd
r6905 r6906 55 55 </sch:pattern> 56 56 <!-- 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>63 57 </xs:appinfo> 64 58 </xs:annotation>
Note: See TracChangeset
for help on using the changeset viewer.