att.staff.log

Logical domain attributes.
Module MEI.shared
Members
staff (direct member of att.staff.log)
Attributes
@def(optional)Provides a mechanism for linking the staff to a staffDef element. Value conforms to data.URI. att.staff.log
@metcon(optional)Indicates the relationship between the content of a staff or layer and the prevailing meter. Allowed values are: "c" (Complete; i.e., conformant with the prevailing meter.), "i" (Incomplete; i.e., not enough beats.), "o" (Overfull; i.e., too many beats.)att.meterconformance
Declaration
<classes>
<memberOf key="att.meterconformance"/>
</classes>
<attDef ident="def" usage="opt">
<desc>Provides a mechanism for linking the staff to a staffDef element.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.URI" />
</datatype>
<constraintSpec ident="check_defTarget_staff" scheme="isoschematron">
<constraint>
<sch:rule context="staff/@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:staffDef/@xml:id">The value in @def should correspond to the @xml:id attribute of a staffDef element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
Constraint
@def attribute should have content.
The value in @def should correspond to the @xml:id attribute of a staffDef element.
<sch:rule context="staff/@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:staffDef/@xml:id">The value in @def should correspond to the @xml:id attribute of a staffDef element.</sch:assert>
</sch:rule>