Skip to content

Commit

Permalink
231: Fix addition of except-voice element
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Good committed Jul 29, 2017
1 parent aefe166 commit bc5c339
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions schema/attributes.mod
Expand Up @@ -507,7 +507,7 @@
patterns). By default, the value for slashes is 1 and the
value for use-dots is no.
-->
<!ELEMENT beat-repeat ((slash-type, slash-dot*, except-voice*)?)>
<!ELEMENT beat-repeat ((slash-type, slash-dot*)?, except-voice*)>
<!ATTLIST beat-repeat
type %start-stop; #REQUIRED
slashes NMTOKEN #IMPLIED
Expand All @@ -523,7 +523,7 @@
style. The use-dots attribute works as for the beat-repeat
element, and only has effect if use-stems is no.
-->
<!ELEMENT slash ((slash-type, slash-dot*, except-voice*)?)>
<!ELEMENT slash ((slash-type, slash-dot*)?, except-voice*)>
<!ATTLIST slash
type %start-stop; #REQUIRED
use-dots %yes-no; #IMPLIED
Expand Down
22 changes: 12 additions & 10 deletions schema/musicxml.xsd
Expand Up @@ -5785,16 +5785,18 @@ A score-instrument type is also required if the score specifies MIDI 1.0 channel
<xs:documentation>The slash group combines elements used for more complete specification of the slash and beat-repeat measure-style elements. They have the same values as the type and dot elements, and define what the beat is for the display of repetition marks. If not present, the beat is based on the current time signature.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="slash-type" type="note-type-value">
<xs:annotation>
<xs:documentation>The slash-type element indicates the graphical note type to use for the display of repetition marks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="slash-dot" type="empty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The slash-dot element is used to specify any augmentation dots in the note type used to display repetition marks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:element name="slash-type" type="note-type-value">
<xs:annotation>
<xs:documentation>The slash-type element indicates the graphical note type to use for the display of repetition marks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="slash-dot" type="empty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The slash-dot element is used to specify any augmentation dots in the note type used to display repetition marks.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="except-voice" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The except-voice element is used to specify a combination of slash notation and regular notation. Any note elements that are in voices specified by the except-voice elements are displayed in normal notation, in addition to the slash notation that is always displayed.</xs:documentation>
Expand Down

0 comments on commit bc5c339

Please sign in to comment.