The starting point of the beam may be indicated by either a startid, tstamp, tstamp.ges, or tstamp.real attribute, while the ending point may be recorded by either a dur, dur.ges, endid, or tstamp2 attribute. It is a semantic error not to specify one starting and one ending type of attribute.
<elementSpec ident="beamSpan" module="MEI.cmn">
<gloss xml:lang="en">beam span</gloss>
<desc xml:lang="en">Alternative element for explicitly encoding beams, particularly those which
extend across bar lines.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.beamSpan.log"/>
<memberOf key="att.beamSpan.vis"/>
<memberOf key="att.beamSpan.ges"/>
<memberOf key="att.beamSpan.anl"/>
<memberOf key="model.controlEventLike.cmn"/>
</classes>
<content>
<empty/>
</content>
<constraintSpec ident="beamspan_start-_and_end-type_attributes_required" scheme="schematron">
<constraint>
<sch:rule context="mei:beamSpan">
<sch:assert test="@startid or @tstamp or @tstamp.ges or @tstamp.real">Must have one of the
attributes: startid, tstamp, tstamp.ges or tstamp.real.</sch:assert>
<sch:assert test="@dur or @dur.ges or @endid or @tstamp2">Must have one of the attributes:
dur, dur.ges, endid, or tstamp2.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks xml:lang="en">
<p>The starting point of the beam may be indicated by either a <att>startid</att>,
<att>tstamp</att>, <att>tstamp.ges</att>, or <att>tstamp.real</att> attribute, while the
ending point may be recorded by either a <att>dur</att>, <att>dur.ges</att>,
<att>endid</att>, or <att>tstamp2</att> attribute. It is a semantic error not to specify one
starting and one ending type of attribute.</p>
</remarks>
</elementSpec>