Open and save MusicXML doesn't work properly

• Dec 18, 2011 - 21:58

If I open a MusicXML file (something.xml) which I've created with MuseScore, make changes, and save it, the file is saved not to something.xml, but to something.mscz. If there is an existing something.mscz file in the same directory, it's overwritten with no warning.

Using MuseScore 1.1, revision 4611, Mac OS X 10.6.8.


Comments

Overwriting the existing file without warning sounds like a bug, but it's definitely normal that saving an imported file would save with MuseScore's native extension, which is MSCZ, and that this would be true regardless if the original file that was imported started out as MusicXML, MIDI, or something else. If you want to export to MusicXML (or to any other non-native format), you need to use Save As and then choose the desired format in the dropdown).

In reply to by Marc Sabatella

The normal expectation is that if you "open" something from the File menu, the "save" operation should go to a file of the same name, with the exception of template files. An application should never silently save an opened file to a different name. In any case where the "save" operation can't do this, it should bring up a file saving dialog, as if the user had chosen "Save as." In cases where it isn't intended for the file to be saved with the same name, an "import" menu command should be used instead of "open."

At least we're agreed it shouldn't overwrite an existing file without warning.

In reply to by gmcgath

Some programs do indeed work the way you describe, but not all. Kind of varies by OS, too. I think there is some attnetion being given to sorting out some of these differences in a future release - to make the application seem more "native" on each OS.

Anyhow, Many programs have a separate "import" menu item, as oppose to "open". If it helps, think of any file you open other than MSCZ or MSCX being an "import". MSCZ and MSCX are the only native formats; all else are import / export, even though they are accessed via the ."open" and "save" menu.

Do you still have an unanswered question? Please log in first to post your question.