Changeset 6916


Ignore:
Timestamp:
01/18/16 16:23:22 (8 years ago)
Author:
Menzo Windhouwer
Message:

M general-component-schema.xsd

  • XPath Schematron rule needed the CMD_ prefix
File:
1 edited

Legend:

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

    r6909 r6916  
    114114                            <sch:title>Check reserved attribute names</sch:title>
    115115                            <sch:rule context="Attribute">
    116                                 <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>
     116                                <sch:assert test="not(exists(parent::AttributeList/parent::CMD_Component) and Name=('ref','ComponentId'))">Component attribute name shouldn't be 'ref' or 'ComponentId', as these are used internally by CMD!</sch:assert>
    117117                            </sch:rule>
    118118                        </sch:pattern>
Note: See TracChangeset for help on using the changeset viewer.