From 1c678789b160362e1ce757489c8c5fcc0773e29e Mon Sep 17 00:00:00 2001 From: Leon Vinken Date: Sun, 14 Jun 2015 13:33:45 +0200 Subject: [PATCH] fix #64946 --- mscore/importmxmlpass2.cpp | 3 ++- mtest/musicxml/io/testNoteAttributes2.xml | 5 +++++ mtest/musicxml/io/testNoteAttributes2_ref.xml | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/mscore/importmxmlpass2.cpp b/mscore/importmxmlpass2.cpp index b3bfb36334ae..823ab67b1f26 100644 --- a/mscore/importmxmlpass2.cpp +++ b/mscore/importmxmlpass2.cpp @@ -5264,7 +5264,8 @@ void MusicXMLParserPass2::notations(Note* note, ChordRest* cr, const int tick, } else if (_e.name() == "breath-mark") { breath = 0; - _e.readNext(); + _e.readElementText(); + // TODO: handle value read (note: encoding unknown, only "comma" found) } else if (_e.name() == "caesura") { breath = 3; diff --git a/mtest/musicxml/io/testNoteAttributes2.xml b/mtest/musicxml/io/testNoteAttributes2.xml index 916dc119736e..091f1101e5a5 100644 --- a/mtest/musicxml/io/testNoteAttributes2.xml +++ b/mtest/musicxml/io/testNoteAttributes2.xml @@ -389,6 +389,11 @@ 1 quarter down + + + comma + + diff --git a/mtest/musicxml/io/testNoteAttributes2_ref.xml b/mtest/musicxml/io/testNoteAttributes2_ref.xml index 6782ac8a983c..6ad51ac6f348 100644 --- a/mtest/musicxml/io/testNoteAttributes2_ref.xml +++ b/mtest/musicxml/io/testNoteAttributes2_ref.xml @@ -384,6 +384,11 @@ 1 quarter down + + + + +