[MusicXML export] invalid XML export: direction-type is missing child element

• Aug 17, 2019 - 10:13
Reported version
3.2
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Comments

See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/direc…

Content
Exactly one of the following

...

But here they are empty:

...
      <direction placement="above">
        <direction-type>
          </direction-type>
        <sound tempo="72"/>
        </direction>
      <direction placement="above">
        <direction-type>
          </direction-type>
        <sound tempo="72"/>
        </direction>
 ...

Here apparently lacking <words>...</words>?, but in other placxes it is just

      <direction>
        <direction-type>
          </direction-type>
        </direction>

And the fix for that it to have the keysig (3 sharps) at the first measure, not at the first after all mm-rests, then also the exported musicxml is clean!