MusicXML barline element validation error

• Mar 28, 2017 - 09:40
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
closed
Project

If you export XML from the attached MuseScore file it produces an invalid barline definition at line 13334:
<barline location="left">
<bar-style>heavy-light</bar-style>
<repeat direction="forward"/>
<ending number="2" type="start"/>
</barline>

instead of:

<barline location="left">
<bar-style>heavy-light</bar-style>
<ending number="2" type="start"/>
<repeat direction="forward"/>
</barline>

i.e. The repeat element should come after the ending element.

I apologise if this seems nit picking, but SeeScore uses a validating parser built from the musicxml schema, and with any validation error such as this the file cannot be loaded!

Thanks
James Sutton
www.seescore.co.uk

Attachment Size
4. Gypsy.mscz 59.28 KB
4. Gypsy.xml.zip 53.04 KB

Comments

When I export in 2.1-dev 3523f8f, for measure 67, I get

ending number="2" type="start"/
repeat direction="forward"/

Which seems to be correct order. It seems this has been fixed in 2.1, but maybe try a nightly 2.1 (https://musescore.org/en/download#Nightly-versions) and verify

(For information purposes, I looked up specs https://usermanuals.musicxml.com/MusicXML/Content/CT-MusicXML-barline.h… which say ending and repeat are in a sequence in that order.)

Status (old) active fixed

Yes, you are quite correct this is fixed in the latest nightly build
Sorry I should have checked - I didn't realise it's so easy to install a dev build
Thank you
James