Changeset 6908 for metadata/trunk/toolkit/src
- Timestamp:
- 01/14/16 13:05:14 (9 years ago)
- Location:
- metadata/trunk/toolkit/src/main/resources/toolkit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/src/main/resources/toolkit/sch/cmd-component-best-practices.sch
r6907 r6908 11 11 </sch:pattern> 12 12 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 13 20 </sch:schema> -
metadata/trunk/toolkit/src/main/resources/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl
r6907 r6908 59 59 <!-- the profile specific uris --> 60 60 <xsl:variable name="cmd-profile-uri" select="concat($cmd-profiles,'/',$profile)"/> 61 <!-- TODO: determine if we need the 1.2' version of the profile --> 61 62 <xsl:variable name="cr-profile-xsd" select="concat($cr-profiles,'/',$profile,$cr-extension-xsd)"/> 62 63 <xsl:variable name="cr-profile-xml" select="concat($cr-profiles,'/',$profile,$cr-extension-xml)"/> -
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.