<classSpec ident="att.layer.log" module="MEI.shared" type="atts">
<desc xml:lang="en">Logical domain attributes.</desc>
<attList>
<attDef ident="def" usage="opt">
<desc xml:lang="en">Provides a mechanism for linking the layer to a layerDef element.</desc>
<constraintSpec ident="check_defTarget_layer" scheme="schematron">
<constraint>
<sch:rule context="mei:layer/@def">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@def attribute should
have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:layerDef/@xml:id">The value in @def should correspond to the @xml:id attribute of a layerDef
element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>