<classSpec ident="att.duration.quality" module="MEI.mensural" type="atts">
<desc xml:lang="en">Attribute that expresses duration for a given mensural note symbol.</desc>
<constraintSpec ident="check_duplex_quality" scheme="schematron">
<constraint>
<sch:rule context="(mei:note|mei:space)[@dur.quality='duplex']">
<sch:assert test="@dur='longa'">
Duplex quality can only be used with longas (in Ars antiqua).
</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="check_maiorminor_quality" scheme="schematron">
<constraint>
<sch:rule context="(mei:note|mei:space)[@dur.quality='maior' or @dur.quality='minor']">
<sch:assert test="@dur='semibrevis'">
Maior / minor quality can only be used with semibreves (in Ars antiqua).
</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="dur.quality" usage="rec">
<desc xml:lang="en">Encodes the durational quality of a mensural note using the values provided by the
data.DURQUALITY.mensural datatype (
<abbr>i.e.</abbr>, the perfect / imperfect / altered / major / minor / duplex quality of a note).</desc>
</attDef>
</attList>
</classSpec>