Changeset 6905
- Timestamp:
- 01/13/16 12:45:34 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/branches/cmdi-1.1/toolkit/general-component-schema.xsd
r5198 r6905 120 120 <sch:title>Check reserved attribute names</sch:title> 121 121 <sch:rule context="Attribute"> 122 <sch:assert test="not( Name=('ref','ComponentId'))">Attribute name shouldn't be 'ref' or 'ComponentId', as these are used internally by CMD!</sch:assert>122 <sch:assert test="not(exists(parent::AttributeList/parent::Component) and Name=('ref','ComponentId'))">Component attribute name shouldn't be 'ref' or 'ComponentId', as these are used internally by CMD!</sch:assert> 123 123 </sch:rule> 124 124 </sch:pattern>
Note: See TracChangeset
for help on using the changeset viewer.