Rev 1840 breaks trackname handling for midi and musicxml

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rev 1840 breaks trackname handling for midi and musicxml

Leon Vinken
In rev 1840, Part::setLongName and Part::setShortName no longer accept a simple string, but apparently need an xml-encoded QTextDocument. This breaks track and instrument name importing in MIDI and MusicXML:

lvi@Linux:~/mscore> ./build/mscore/mscore ./mscore/test/midi1.mid
parse instrument name: error occurred while parsing element
 at line 1 column 1
   data:<Track 1>

lvi@Linux:~/mscore> ./build/mscore/mscore ./mscore/test/testHello.xml
parse instrument name: error occurred while parsing element
 at line 1 column 1
   data:<Music>
parse instrument name: error occurred while parsing element
 at line 1 column 1
   data:<Music>

Leon.
Reply | Threaded
Open this post in threaded view
|

Re: Rev 1840 breaks trackname handling for midi and musicxml

wschweer
Administrator
I fixed this regression in rev. 1848.

Werner
On Sunday 24 May 2009 17:00:50 Leon Vinken wrote:

> In rev 1840, Part::setLongName and Part::setShortName no longer accept a
> simple string, but apparently need an xml-encoded QTextDocument. This
> breaks track and instrument name importing in MIDI and MusicXML:
>
> lvi@Linux:~/mscore> ./build/mscore/mscore ./mscore/test/midi1.mid
> parse instrument name: error occurred while parsing element
>  at line 1 column 1
>    data:<Track 1>
>
> lvi@Linux:~/mscore> ./build/mscore/mscore ./mscore/test/testHello.xml
> parse instrument name: error occurred while parsing element
>  at line 1 column 1
>    data:<Music>
> parse instrument name: error occurred while parsing element
>  at line 1 column 1
>    data:<Music>
>
> Leon.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer