- Timestamp:
- 01/14/16 13:05:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/src/main/resources/toolkit/xsd/cmd-component.xsd
r6907 r6908 211 211 </sch:rule> 212 212 </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>219 213 </xs:appinfo> 220 214 </xs:annotation>
Note: See TracChangeset
for help on using the changeset viewer.