<sch:rule context="@when">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@when attribute should
have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:when/@xml:id">A
value in @when should correspond to the @xml:id attribute of a when
element.</sch:assert>
</sch:rule>
<classSpec ident="att.alignment" module="MEI.performance" type="atts">
<desc>Temporal alignment attributes.</desc>
<constraintSpec ident="check_whenTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@when">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@when attribute should
have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:when/@xml:id">A
value in @when should correspond to the @xml:id attribute of a when
element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList org="group">
<attDef ident="when" usage="opt">
<desc>Indicates the point of occurrence of this feature along a time line. Its value must
be
the ID of a
<gi scheme="MEI">when</gi> element elsewhere in the document.</desc>
</attDef>
</attList>
</classSpec>