The scoreDef element is allowed as a sub-element so that an ending may have its own meta-data without the overhead of child section elements. div sub-elements are not allowed within ending. They may, however, be contained by the children of ending, e.g., measures. Endings may not contain other ending elements.
<elementSpec ident="ending" module="MEI.shared">
<desc xml:lang="en">Alternative ending for a repeated passage of music;
<abbr>i.e.</abbr>, prima volta, seconda volta,
etc.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.ending.anl"/>
<memberOf key="att.ending.ges"/>
<memberOf key="att.ending.log"/>
<memberOf key="att.ending.vis"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.pointing"/>
<memberOf key="att.targetEval"/>
<memberOf key="model.endingLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.annotLike"/>
<rng:ref name="model.appLike"/>
<rng:ref name="model.editLike"/>
<rng:ref name="model.graphicPrimitiveLike"/>
<rng:ref name="model.milestoneLike.music"/>
<rng:ref name="model.relationLike"/>
<rng:ref name="model.scoreDefLike"/>
<rng:ref name="model.sectionLike"/>
<rng:ref name="model.sectionPart.cmn"/>
<rng:ref name="model.sectionPart.mensuralAndNeumes"/>
<rng:ref name="model.staffDefLike"/>
<rng:ref name="model.transcriptionLike"/>
</rng:choice>
</rng:zeroOrMore>
</content>
<remarks xml:lang="en">
<p>The <gi scheme="MEI">scoreDef</gi> element is allowed as a sub-element so that an ending
may have its own meta-data without the overhead of child <gi scheme="MEI">section</gi>
elements. <gi scheme="MEI">div</gi> sub-elements are not allowed within ending. They may,
however, be contained by the children of ending,
<abbr>e.g.</abbr>, measures. Endings may not contain
other ending elements.</p>
</remarks>
</elementSpec>