From 30e930f9610d88d74dd9304abfc172f89ad1e7c3 Mon Sep 17 00:00:00 2001 From: Michael Good Date: Tue, 6 Sep 2016 15:19:50 -0700 Subject: [PATCH] 126: Clarify key-octave documentation regarding the cancel attribute --- schema/attributes.mod | 7 +++++-- schema/musicxml.xsd | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/schema/attributes.mod b/schema/attributes.mod index 9be8b734..e73dcea3 100755 --- a/schema/attributes.mod +++ b/schema/attributes.mod @@ -112,8 +112,11 @@ values as the display-octave element. The number attribute is a positive integer that refers to the key signature element in left-to-right order. If the cancel attribute is - set to yes, then this number refers to an element specified - by the cancel element. It is no by default. + set to yes, then this number refers to the canceling key + signature specified by the cancel element in the parent key + element. The cancel attribute cannot be set to yes if there is + no corresponding cancel element within the parent key element. + It is no by default. Key signatures appear at the start of each system unless the print-object attribute has been set to "no". diff --git a/schema/musicxml.xsd b/schema/musicxml.xsd index 3e9084f4..ff989b63 100755 --- a/schema/musicxml.xsd +++ b/schema/musicxml.xsd @@ -2499,7 +2499,7 @@ Clefs appear at the start of each system unless the print-object attribute has b - The key-octave element specifies in which octave an element of a key signature appears. The content specifies the octave value using the same values as the display-octave element. The number attribute is a positive integer that refers to the key signature element in left-to-right order. If the cancel attribute is set to yes, then this number refers to an element specified by the cancel element. It is no by default. + The key-octave element specifies in which octave an element of a key signature appears. The content specifies the octave value using the same values as the display-octave element. The number attribute is a positive integer that refers to the key signature element in left-to-right order. If the cancel attribute is set to yes, then this number refers to the canceling key signature specified by the cancel element in the parent key element. The cancel attribute cannot be set to yes if there is no corresponding cancel element within the parent key element. It is no by default.