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 [not available in this MEI customization] 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 rend="add" 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.log"/>
<memberOf key="att.ending.vis"/>
<memberOf key="model.endingLike"/>
</classes>
<content>
<zeroOrMore><choice><ref name="model.annotLike"/>
<ref name="model.appLike"/>
<ref name="model.editLike"/>
<ref name="model.graphicPrimitiveLike"/>
<ref name="model.milestoneLike.music"/>
<ref name="model.relationLike"/>
<ref name="model.scoreDefLike"/>
<ref name="model.sectionLike"/>
<ref name="model.sectionPart.cmn"/>
<ref name="model.sectionPart.mensuralAndNeumes"/>
<ref name="model.staffDefLike"/>
<ref name="model.transcriptionLike"/></choice></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>